Patrik:

If your application is of class MyClass, and your icon is "myIcon.gif"
in the same folder as your class file, you can use the following (for a
class extending JFrame):

this.setIconImage(Toolkit.getDefaultToolkit().getImage(MyClass.class.get
Resource("myIcon.gif")));

Chris

==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to