In my program I'm using ImageIcon for the buttons and I had this code

Action actClose = new AbstractAction("Close", new
ImageIcon("images/file_close.gif")){...}

This works if I'm in the correct directory, but if I'm not the images are
not found. 

What is the correct way to do the previus code?

Thanks
Marcos
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to