wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Controls of JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Controls of JFrame" Watch "Controls of JFrame" New topic
Author

Controls of JFrame

Sue Meng
Ranch Hand

Joined: Nov 21, 2005
Posts: 137
Can we hide control buttons (minimise, maximise/restore, close) at the right top of the JFrame?


Expect trouble as an inevitable part of life and repeat to yourself the most comforting words of all: This, too, shall pass." --Ann Landers
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
frame.setUndecorated(true);

(alt-F4 to close)
Sue Meng
Ranch Hand

Joined: Nov 21, 2005
Posts: 137
It makes frame look ugly. I still want borders there only the buttons I dont want. In fact I want frame to look like simple dialog with my 'ok' button on it. Thanks anyway.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Controls of JFrame
 
Similar Threads
NetBeans IDE 5.5
why no default close button in JDialog
how to invoke FileDialog from a dialog?
How to display JFrame with orientation Right_To_Left in Windows 7 64bit..?
painting problems