Get your CodeRanch badge!*
The moose likes Swing / AWT / SWT and the fly likes How to disable maximum button in netbeans made applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to disable maximum button in netbeans made applications" Watch "How to disable maximum button in netbeans made applications" New topic
Author

How to disable maximum button in netbeans made applications

Sunny Virtualian
Greenhorn

Joined: Jul 29, 2012
Posts: 19
Hello friends, I am making a software in netbeans. Whenever I run the software it runs well but when I press the Maximum button active JPanel area remain same but on rest of screen JFrame area is being shown. Now I don't want to show JFrame on the screen out side of JPanel.

How can I fix this problem?

Best Regards
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5

. . . but when I press the Maximum button active JPanel area remain same but on rest of screen JFrame area is being shown. . . .

Which means you probably didn't use proper layout to place components into your frame.

If you are using NetBeans GUI builder, then select your parent frame and in Properties window set resizable to false (uncheck resizable item).


The quieter you are, the more you are able to hear.
Sunny Virtualian
Greenhorn

Joined: Jul 29, 2012
Posts: 19
You are very right sir, now it working as per requirement. Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to disable maximum button in netbeans made applications
 
Similar Threads
Fixed drawing area
how to add image to swing, i dont need the code?
how to use JScrollBar in JFrame..Please Help Me
JPanel reference JFrame?
JPanel and JFrame listener