DockableFrame popupMenu

This forum is used by users to request and discuss new product features. Please do not use this forum for technical support including bug reports.

Moderator: JIDE Support

Forum rules
Product suggestions only. Please do not use this forum for technical support including bug reports.

DockableFrame popupMenu

Postby nicola.gioia » Thu Nov 03, 2005 3:13 am

It's possible to personalize the popupMenu that appear on right click on the title bar of the DockableFrame to add new function?
I need to add a new functionality "alwais on top" enabled only when the component is in "floating" state.
Alternatively it is possible to use a menuBar that is visible only on "floating" state?
Thanks
nicola.gioia
 
Posts: 60
Joined: Tue Sep 20, 2005 6:57 am

Postby JIDE Support » Thu Nov 03, 2005 9:20 am

The popup menu can be customized using dockingManager.setPopupMenuCustomizer(...). All the information you need will be in the parameters that are passed in. See below.

Code: Select all
customizePopupMenu(JPopupMenu menu, DockingManager dockingManager, DockableFrame dockableFrame, boolean onTab)

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 94 guests