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 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
Author

removing titlebar of JFrame

bhavin
Greenhorn

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
Wanderer
Sheriff

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


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

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

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!


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: removing titlebar of JFrame
 
Similar Threads
How to create JFrame with Rounded Rectangle border
JWindow problem....
JFrame without titlebar
Titlebar in swing
how to set JFrame titlebar color