X

Geertjan's Blog

  • March 18, 2012

Associating Palettes with View TopComponents

Geertjan Wielenga
Product Manager

A side effect of changes in NetBeans Platform 7.1 in the NetBeans window system is that palettes can now be created for view TopComponents.

Below, a TopComponent in the "explorer" position is selected, which results in the Palette opening and showing items that can be dragged into the TopComponent:

And here, in the same application, a TopComponent in the "output" position is now selected, which causes the Palette to open, showing items that are relevant to the TopComponent:

I copied code used in the above two TopComponents from this blog entry:

https://blogs.oracle.com/geertjan/entry/simple_component_palette

Related issue: http://netbeans.org/bugzilla/show_bug.cgi?id=209238

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.