Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

netbeans JApplet

Thread view: 
sight - 28 Nov 2005 11:15 GMT
How to add all needed archive files to applet in netbeans ide.

For example, I'm working on JApplet that needs XXX.jar file and it is
somewhere outside home directory of project.

When I want to test my application from netbeans it works fine, but when I
only start html file it sends errors that XXX.jar can't be found.

Editing html page, adding archive="c:/xxx.jar" will solve my problem but can
netbeans IDE do that automatically
IchBin - 28 Nov 2005 21:14 GMT
> How to add all needed archive files to applet in netbeans ide.
>
[quoted text clipped - 6 lines]
> Editing html page, adding archive="c:/xxx.jar" will solve my problem but can
> netbeans IDE do that automatically

Not sure if I understand your question. You ask how to add required jar
file to a Netbeans project. Then you say that it works fine when you
test it under Netbeans. I take it you do not want to update your HTML to
make it run.

If so, under your Netbeans project just this It is a two step process.
One add library to Netbeans and then add that library to your project

External jar file just for project
1 - select your project, right click and select properties
2 - select libraries
3 - select Add jar\folder. Then add it and select OK

External jar file as a library that any project can us. After this is
done Netbeans will let you add the library to any project with out
having to make a reference for it's location

1 - select your project, right click and select properties
2 - select libraries
3 - select add new library and then Manage Libraries
4 - enter a symbolic name for the library
5 - your new library reference now hows in the library list
6 - select that library
7 - select Add jar\folder. Then add it and select OK
8 - The finally select OK.
9 - The external jar file is associated with a Netbeans library name. So
on any project you can just add this library.

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.