KingOf007 is right. JMenu uses a JPopupMenu to display it.
JPopupMenu.setDefaultLightWeightPopupEnabled(false) must be set before create JMenu. you can put it as the first line in your init() or put it in the class initializer.
the program is full of bugs and low performance.
call repaint() when mouse released, do not call current.draw