adding menu item to chartpanel popup menu
adding menu item to chartpanel popup menu
I want to add a menu item, say import to pdf file, to chartpanel popup menu. any suggestion?
Re: adding menu item to chartpanel popup menu
Code: Select all
chartPanel.getPopupMenu().add(new JMenuItem(...));
-
- Posts: 47
- Joined: Thu Dec 11, 2008 7:59 pm
Re: adding menu item to chartpanel popup menu
Customize PopupMenu in ChartPanel: http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=27752
But to add something to the exisiting PopupMenu, use the above suggestion.
But to add something to the exisiting PopupMenu, use the above suggestion.