NetBeans IDE 7.1 Window Layout Designer

In 7.1, you'll see this in the New File dialog:

I.e., as you can see, there'll be two new file templates. One for creating & registering a new layer file (hurray!), which you'll not be able to create when you create a new module. That's good, because you'll only have a layer file when you actually need it.

Secondly, you'll see the "Layout of Windows" wizard, which will be very useful when you're creating your own modes. When you step through the wizard, this dialog will appear, where you're able to create new modes:

For example, as you can see below, I have added two new modes ("banner1" and "banner2") and positioned them (using drag and drop) within the frame of the application:

When I close the window that you see above, the wizard recognizes that there are two new modes, as you can see below:

Then, when you click Next above, you can see that two new mode files will be created, and that the layer file will be changed, i.e., those two new mode files will be registered in the layer file when the wizard completes:

And, here you can see what is found in my module when the wizard completes:

Therefore, when I create new windows, I can now choose the new modes I designed above:

That should take some of the pain away when designing the layout of your applications on the NetBeans Platform.


Comments:

Hi,
This is great news! We were looking for this feature for quite some time.
Many thanks to the netbeans team for implementing it.

Thanks,

Sorin

Posted by SorinS on August 22, 2011 at 01:19 AM PDT #

Great news Geertjan, I wasn't expecting this to be available so soon!

Regards,
-Rob

Posted by RobT on August 22, 2011 at 09:38 AM PDT #

can we use this to create perspectives : predefined as we as user defined?

Posted by guest on August 24, 2011 at 07:27 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today