Hello,
I want to use the option, which are accessible via the context-menu (right click) in the menubar of my frame.
Is there an easy way, just to directly call the commands in the context-menu?
Regards,
Wolfgang Lenhard
Context-Option in jMenuBar
Re: Context-Option in jMenuBar
Take a look in the actionPerformed(...) method of the ChartPanel class to see how the commands are dispatched...most of the methods are public, so you should be able to call them from your code.
Regards,
DG.
Regards,
DG.