Monday, May 12, 2008

Adding Popup Menu in Netbeans to a Frame

In the frame mouse clicked event type in the code as
jPopupMenu1.show(this, evt.getX(), evt.getY());
Don't forget to add a menu item to the popup menu......:)

No comments: