|
How do I make my Node have a submenu on its popup menu |
|
|
Override getActions(). Create a custom subclass of javax.swing.Action which implements the interface Presenter.Popup. Return a JMenu with whatever you want on it from getPopupPresenter(). Return that action in the array of actions from getActions().
Source: NetBeans FAQ
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.