This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Frame without M&M buttons  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless it is a JInternalFrame you cannot do that.
However you can have a JFrame without a title bar by calling setUndecorated(true)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!