Now i found a problem at changing the icon image of frame from the default java symbol.I found a method defined in the class of java.awt.frame - setIconImage(Image image) , but i don't konw how to use the image argument to specify the image i want use in the frame.Thanks.
Hi,Dirk, you know, the class you offered is a abstract class ,but I don't know how to get a instance of that class , if I don't want to create a subclass of it,can I use java.awt.toolkit class?
Toolkit.getDefaultToolkit() gets the real Toolkit on your system... the implementing class is package private because it changes based on system and you shouldn't access it directly.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.