permaculture playing cards
The moose likes Swing / AWT / SWT and the fly likes Disable the Title Bar of JFrame in Swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Disable the Title Bar of JFrame in Swing" Watch "Disable the Title Bar of JFrame in Swing" New topic

Disable the Title Bar of JFrame in Swing

Shaan Shar
Ranch Hand

Joined: Dec 27, 2005
Posts: 1249

Hi I have a problem I want to design an application with a startup Flash Screen but I have a problem that how to Disable Title bar of that Screen. Could you please help me out and if possible then also attach the code asap. And Please Don't suggest me to use Classes which are not by default in JAVA I mean to say that I don't want to use some modified classed by any otherone
[ February 28, 2006: Message edited by: Ankur Sharma ]

The Best way to predict your future is to create it - Every great individual common man
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Ease Up. We're all volunteers here and every question gets answered "asap".
javax.swing.JWindow is what you are looking for.

[How To Ask Questions On JavaRanch]
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Sometimes JWindow is hard to work with (focusability issues, I think). In that case, if what you want is a top-level window without a title bar, consider using JFrame or JDialog with setDecorated(false);

There is no emoticon for what I am feeling!
I agree. Here's the link:
subject: Disable the Title Bar of JFrame in Swing
jQuery in Action, 3rd edition