Hi I am new to JAVA myself but was forced to learn
some of about a week ago as I needed to make a program
for those that don't own Adobe Acrobat to inject flash
auto-responder forms into their pdfs.
In both netbeans and eclipse, Your libraries need to be in two places.
When netbeans compiles, by default all external libraries are put in a
separate lib folder. eclipse compiles all to the one jar file.
The two places by default are project/lib/ and project/dist/lib/
That would probably be :
/home/stevorobs3/NetBeansProjects/Assignment1-linux/0-Warmup/lib/
/home/stevorobs3/NetBeansProjects/Assignment1-linux/0-Warmup/dist/lib/
I am going to give you another simple thing you will come across with
eclipse. Imagine you put some images in your project instead of text.
We are adding file.gif to a button. In eclipse we create a new source
folder using the file new menu and import file.gif to that folder.
You also have to copy it to root of your project bin folder.
When you use it don't mention the source folder because when compiled
it will be placed in the root of the jar along with your other jar files.
eg.
Code:
createImageIcon("/file.gif"));
Sorry for the long reply but it drove me batty for a couple of hours.
Have a great day!
Larry Keenan