A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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 ]
I agree. Here's the link:
subject: How to Disable Java Logo in Dialogs?
JOptionPane using Warning icon
Creating new JFrame on click of JButton
Dialog Always to front
getting sun java logo
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014