1

im using Netbeans 7 for make a desktop application.

But i can't find how to disable Window Resizing or Maximizing in the Gui Builder!, someone can help me?

Rafael Carrillo
  • 2,772
  • 9
  • 43
  • 64

2 Answers2

9

You cannot access properties of the JFrame (that corresponds to FrameView) directly (in GUI builder's UI), but you can can access it using getFrame() on the FrameView.

For example, to make frame not resizable:

getFrame().setResizable(false)

in the ApplicationView constructor

CamilleLDN
  • 850
  • 6
  • 11
  • 2
    Actually, since this is a property, it can be changed in the Properties window (usually on the right) – madth3 Nov 25 '11 at 02:06
  • Hmm i didn't find any property to change the resizable value... i'm trying to use @Mademoiselle Geek method :).. Thanks – Rafael Carrillo Nov 25 '11 at 04:40
1

Right click on the frame-->properties --> resizable (uncheck)

flowgician
  • 63
  • 1
  • 1
  • 7