It's not a secret anymore!
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

Frame without M&M buttons

Hussein Baghdadi
clojure forum advocate

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).
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:
subject: Frame without M&M buttons
It's not a secret anymore!