It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes disabling minimize icon in 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 "disabling minimize icon in JFrame" Watch "disabling minimize icon in JFrame" New topic
Author

disabling minimize icon in JFrame

Nirmal JeyaChandra
Greenhorn

Joined: Aug 31, 2005
Posts: 25
Please suggest me how to disable minimize icon in JFrame

Thanks in advance
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Use JWindow instead of JFrame


[My Blog]
All roads lead to JavaRanch
Nirmal JeyaChandra
Greenhorn

Joined: Aug 31, 2005
Posts: 25
If I use JWindow instead of JFrame I am not able to view the whole title

I want only the minimizing and maximizing icons diabled not the closing icon disabled.

Please help. Thanks in advance.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Calling setResizable(false) will gray out the minimize/maximize buttons
(maybe )
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
what about removing the min/max buttons?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: disabling minimize icon in JFrame
 
Similar Threads
how to disable resize button
notification icon question
How to Auto Minimize a JFrame
how to disable minimize option in JFrame
icon changing