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 Frame without M&M buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 3479

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Frame without M&M buttons