New Group Behavior in Upcoming NetBeans Platform 7.1

Below, "View1" and "View2" are both TopComponents positioned in the "explorer" mode. Hence, tabs are created, as always. However, in the 7.1 build I used to create the screenshot below, new group behavior is available to these two TopComponents, simply because they are positioned in the same mode:

Now, any TopComponents found in the same mode can behave together, e.g., can be undocked together, moved together, minimized together, etc, which is what several NetBeans Platform developers have been asking for.

The above behavior will also be present in NetBeans IDE 7.1 itself, since it is just another application created on top of the NetBeans Platform.

In other news. I am no longer publishing comments in my blog from people named "guest" or "anonymous" or anything that resembles these names. That's because I often find myself communicating directly to the people who leave comments, i.e., you'll find me writing you e-mails directly, to ask you for clarification about a comment you've left here, which is not something I'm able to do if you're anonymous for whatever reason. When you leave a comment here, you'll be prompted to leave your name as "guest"; so override that with your own name, else I will not publish your comment.


Hi Geertjan,
This is great news. Very useful for my project!

Posted by SorinS on August 11, 2011 at 10:59 PM PDT #

Hi Geertjan,

Was playing around with the Netbeans 7.1 beta..and noticed that the Navigator tabs had the option called 'Move Group' but the editor tabs didnt. Is this the expected behaviour?

Pavan kumar s

Posted by Pavan Kumar on October 12, 2011 at 03:10 PM PDT #

Hi Geertjan,

I am wondering if there is a way to create a "New Document Tab Group" programmatically. This is for my DAQ Analyzer project. When a user requests the graphing of a project I want it to create a new Tab Group for the multiple TopComponent windows that are created. Initially only one TopComponent window is created while the data is retrieved. Once the data comes back it may create additional TopComponents, one for each file that is generated. I want all these top components to make up one group. I can right click on tab of the first window and say "New Document Tab Group" and sometimes the new windows come up in the new group and sometimes they do not. I would like to do this for the user and have the new windows go to the newly created tab group. Any suggestions will be greatly appreciated.

Brad Gibson

Posted by Brad Gibson on January 31, 2012 at 08:55 PM PST #

You know ... there have been so many hints at the merger of two IDE's development efforts. Maybe not so much merger, maybe more cross-pollination. Now I currently have most of my experience with NetBeans, but I am awfully curious what that Other IDE is ... I mean with Oracle I can guess JDeveloper ...

Posted by Jo Desmet on February 07, 2012 at 08:41 PM PST #

Geertjan I stuck, I cannot find a way to create a new document group programmatically. Do you have any suggestions? Any help would be greatly appreciated.

Brad Gibson

Posted by Brad Gibson on February 22, 2012 at 01:02 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

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.


« August 2016