File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How to Disable Java Logo in Dialogs?
Joined: Oct 30, 2002
May 28, 2006 08:40:00
Some of my dialogs have the Java logo in the top left. How do I remove the logo?
Joined: Jun 09, 2003
May 28, 2006 11:22:00
dialogs inherit the logo from their parent.
to remove the icon from a
where "doesNotExist.gif" is the name of a non-existing image file.
if you pass null as the argument, the default icon will be used.
forgot to add, you also need to use
in the dialog's constructor
[ May 28, 2006: Message edited by: Michael Dunn ]
It is sorta covered in the
JavaRanch Style Guide
subject: How to Disable Java Logo in Dialogs?
JOptionPane using Warning icon
Dialog Always to front
getting sun java logo
Creating new JFrame on click of JButton
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013