This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes removing titlebar of JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "removing titlebar of JFrame" Watch "removing titlebar of JFrame" New topic

removing titlebar of JFrame


Joined: Aug 13, 2000
Posts: 5
Hello there
can anybody please tell me that how can i remove titlebar of JFrame or Frame,I how can I make JFrame that does not have titlebar. or how can I make JFrame that can not be dragged,you have to use titlebar to drag JFrame or window but how can you develop JFrame that can not be dragged.please tell me.
thank you.
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Try using a JWindow instead.

"I'm not back." - Bill Harding, Twister
Carlos Cuevas

Joined: Sep 26, 2002
Posts: 9
just when u create ur frame, on it�s init method, use this...
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

"bhavin" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Thanks! and welcome to the JavaRanch!

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: removing titlebar of JFrame
It's not a secret anymore!