hi many thanks, that was really helpful. I created my executable jar file, but I got a new problem; I've got the following structure:
The workspace is bin (folder)and inside this folder I've got the editor (folder) package and images(folder where there are all the images for the buttons). Inside the editor package is the JTEdi.class, which is the class that has the main method and as well some other packages.
to create the jar file from the command line, I stand in the bin folder and type:
jar cmf manifest.mf jtedi.jar editor images
after that it created a jtedi.jar inside the bin folder and to run it I typed: java -jar jtedi.jar
All that work just perfect, but if I put the jtedi.jar file in another folder and type from the command line the same java -jar jtedi.jar it works but it doesn't display the images on the buttons, intead (I'm using actions) it displays the description of the action.
what could be the problem?
Thanks again,