Re: I want to change the Icon of an JFrame
Wednesday, October 17, 2001 02:19 AM
Yes, it is possible to change the imageicon of the frame. U need to call the setIconImage() method on the containter (frame or any other type of container).
// sample code....................
frame.setImageIcon (Toolkit.getDefaultToolkit().getImage (imageName));