JPopupMenu menuPatchPopup = new JPopupMenu();
menuPatchPopup = new JPopupMenu();
    static void createPopupMenu() {	// crate popup menu        JPopupMenu menuPatchPopup = new JPopupMenu();        menuPatchPopup.add(playAction);        menuPatchPopup.add(editAction);        menuPatchPopup.addSeparator();        menuPatchPopup.add(reassignAction);        menuPatchPopup.add(storeAction);        menuPatchPopup.add(sendAction);        menuPatchPopup.add(sendToAction);        menuPatchPopup.addSeparator();        menuPatchPopup.add(cutAction);        menuPatchPopup.add(copyAction);        menuPatchPopup.add(pasteAction);	menuPatchPopup.addSeparator();	menuPatchPopup.add(uploadAction);    }