This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149937 - Can't Create Fixed Windows
Summary: Can't Create Fixed Windows
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-13 12:32 UTC by opticyclic
Modified: 2008-10-17 18:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description opticyclic 2008-10-13 12:32:26 UTC
There are no options to create a fixed (non-resizeable) window in the GUI editor.
i.e. if I want to make a fixed window, after initComponents(); I have to type:
        this.getFrame().setResizable(false);
This could easily be a tick box in the Properties window.

Testcase:
Create a desktop application using the Basic Application style in the New Java Desktop Application Wizard. It gives a 
basic skeleton on which you can develop. 
If the project is called Test you will have a skeletion of TestApp.java TestAboutBox.java and TestView.java. 

TestView.java is the file which contains the UI, the Inspector pane shows a structure like this:

FormTestView
I
I--------[FrameView]
I
I-------mainPanel[JPabel]
I
I-------menuBar[JMenu bar]
I
I------statusPanel[JPanel]

Click on any of the components and notice that there are no properties in the Properties Window to make the 
setResizable property false.
Comment 1 Tomas Pavek 2008-10-17 18:06:44 UTC
Would be easy if this was a property of FrameView. GUI builder only shows direct properties of the components. Special
support for "interesting" nested properties would have to be implemented. Would be good to have more candidates than
just FrameView.frame.resizable.