Re: How to add popup menus like this ??
Friday, February 15, 2008 09:06 AM
If you are asking how to add a context menu to your own java application, then start looking in the API docs at JComponent.setComponentPopupMenu(JPopupMenu). The JPopupMenu works very similarly to a standard JMenuBar, if you've ever coded one of those up. But if you are asking how to add an entry into the operating system's context menu, then you'll have to find an operating-system-specific forum, and go ask over there.