File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes very simple question... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "very simple question..." Watch "very simple question..." New topic
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: 1817

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: http://aspose.com/file-tools
 
subject: very simple question...