Re: [JAVA3D] Icon

2001-08-20 Thread Lan Wu-Cavener
My application icon works fine. But the icon for every pop up window when clicking scene is java icon. Is there any way to change it? Thanks! Lan At 02:10 PM 8/13/2001 -02-30, you wrote: Patrik: If your application is of class MyClass, and your icon is myIcon.gif in the same folder as your

Re: [JAVA3D] Icon

2001-08-13 Thread Christopher Collins
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