| Author |
very simple question...
|
Josh Tambini
Greenhorn
Joined: Nov 30, 2004
Posts: 24
|
|
i want to remove the java icon from my jframe..and to leave it clean(no icon at all) i've tried this for e.g: JFrame jf = new JFrame("Test"); jf.setIconImage(null); but with no avail...anyidea how to set it to "no icon" status??? 10x
|
 |
Joel McNary
Bartender
Joined: Aug 20, 2001
Posts: 1815
|
|
|
This is a Swing question thing, so I'm moving it to the Swing forum -- you'll get better results there.
|
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
|
 |
Vidya Sethuraman
Ranch Hand
Joined: Sep 28, 2003
Posts: 45
|
|
|
Which is the Swing Forum in JKavaRanch. I thought there was only one forum for Swing i.e., Swing/AWT.SWT/JFace.
|
Vidya <br />(SCJP 1.4)
|
 |
Craig Wood
Ranch Hand
Joined: Jan 14, 2004
Posts: 1535
|
|
In the Method Detail section of the JFrame and Frame api for the setIconImage(Image image) method it says that if the image parameter is null then the default icon image will be used, depending on the platform. You can try a blank image. [ December 28, 2004: Message edited by: Craig Wood ]
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: very simple question...
|
|
|