NetBeans Keyboard Shortcut of the Week (4)

This week's Keyboard Shortcut of the Week is an example of how cool things in NetBeans IDE can mean cool things for the NetBeans Platform, which can also mean cool things for applications built atop that platform. The keyboard shortcut in question is... Alt-Shift-D, which you can only make use of if you're using a post-5.5 development build. (Yes, 5.5 hasn't been released yet, but you can already play with the one that'll come after that.)

So, what does the shortcut of the week do for you? Well, it undocks a window. Look how cool that is for the JFugue Music NotePad... you could be composing two pieces simultaneously (thanks to excellent code contributions that Pierre did recently, as a result of which the editor window (called "JFugue Commands" in the screenshot below) is always synchronized with whatever score is currently selected). Since each score is a separate document and since each document is an instance of a window, each of them can be undocked separately, resulting in this effect:

So, when I add new notes (or rests) to one of the open score documents, the related JFugue strings are added to the editor window, which is linked via Lookup to the currently selected document. In this way, I could be composing multiple scores simultaneously because all my scores could be open at the same time all over my screen, thanks to the undocking functionality, which is part of the NetBeans Platform so that nothing (nothing at all) needs to be coded by you—the platform gives it to you for free. Can't wait for 6.0, when this will be a standard part of the NetBeans distribution!

Comments:

BTW learning shortcuts:
For IntelliJ there's a new plug-in Key promoter that's simply genious. It displays the shortcut associated with an action if one is using the mouse for that action :). IMHO is fantastic and the simplest way to learn shortcuts :) (it works even for very lazy people :) ).

It would be nice if there were such a plug-in for NB too (but I suppose only someone with very deep knowledge of NB internals could make it). For IntelliJ however it takes only an 8K jar to achive that effect.

Ahmed.
P.S. One must try it with IntelliJ to see how efficient it is :).

Posted by Ahmed Mohombe on September 06, 2006 at 11:42 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