Friday Dec 05, 2008

Changing the Appearance of Windows in NetBeans IDE

I found some code by Tim Boudreau on-line, which changes the tabbed windows in the IDE to toolbars:

It works perfectly. Just click a different toolbar and a different window is opened, in the case of Projects/Files/Services. Compare that to the default, where you have tabs instead:

It's not very easy to do something like this. In this case, the class that did the trick extended AbstractTabDisplayerUI. It would be cool if somehow something like that could be done to add new buttons to the toolbars of TopComponents, though I'm not that far yet. Even better would be if there were different window layouts that the user could select.

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
« December 2008 »
SunMonTueWedThuFriSat
 
3
7
12
16
17
18
19
21
22
25
26
27
28
29
30
   
       
Today