Description: Java Right pop-up menu, use Java to create a form menu, very simple kind of menu steps: instantiation pop-up menu to initialize the array of menu items to the menu, menu item event handler, the window the mouse event handler, the triggerEvent method is called to handle the event, if it is pop-up menu events (according to the platform may be different), the settings window for the visualization menu item event handler ...
To Search:
File list (Check if you may need any files):
JPopMenuDemo\Java右键弹出菜单
............\................\16-1.bmp
............\................\JPopMenuDemo$1.class
............\................\JPopMenuDemo$ChangeColorAction.class
............\................\JPopMenuDemo.class
............\................\JPopMenuDemo.java