my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Frame without M&M buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Frame without M&M buttons" Watch "Frame without M&M buttons" New topic
Author

Frame without M&M buttons

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi all.
How to create a frame without minimize and maximize buttons.
(I want the frame to contain labels, panels, radiobuttons... but without m&m buttons).
Thanks.
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120
Unless it is a JInternalFrame you cannot do that.
However you can have a JFrame without a title bar by calling setUndecorated(true)


SCJP2. Please Indent your code using UBB Code
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Frame without M&M buttons
 
Similar Threads
Frames??
Printing jframe
emulate the keyboard strikes
Patterns for GUI-building ?
How to hide the minimize and maximize button of a frame?