JDesktopPane on the NetBeans Platform (Part 2)

In part 1, you saw Jesse Glick's solution for a JDesktopPane on the NetBeans Platform. I've been playing with the latest sources he's provided, which now work on 7.1:

https://bitbucket.org/jglick/dynamicmenudemo

So, now, when "Win1" is selected below, dedicated menu items and toolbar buttons appear in the main window:

...while, if Win2 is selected, other menu items and toolbar buttons are shown/hidden:

If interested in this functionality, download the sources from the link above.

Comments:

Geertjan -
Hi. This is a great addition. (Thanks, Jesse.)
Given the way you are showing it, I would infer that this approach could be used to implement the type of document interface/desktop that we have used in ImageJ - it is Macintosh-like, "somewhat similar to MDI with a fullscreen see-through parent window" (see Macintosh section in
http://en.wikipedia.org/wiki/Multiple_document_interface).
-- Grant
(BTW, the link to the source should be: https://bitbucket.org/jglick/dynamicmenudemo Looks like an extra '.' in your link.)

Posted by Grant Harris on October 16, 2011 at 06:13 AM PDT #

Hi Grant, glad you like it and thanks for noting the error in the link, fixed it. Gj

Posted by Geertjan on October 16, 2011 at 06:20 AM 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
« March 2015
SunMonTueWedThuFriSat
4
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today