Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to disable maximum button in netbeans made applications

 
Sunny Virtualian
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . 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).
 
Sunny Virtualian
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are very right sir, now it working as per requirement. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic