Hi, Dmitry. On 01.08.2019 06:26, Dmitry Markov wrote:
I agree it is not a good practice to use keyPressed event without corresponding keyReleased. So I added its generation. Please find new version here: http://cr.openjdk.java.net/~dmarkov/8225505/webrev.01/
It looks like the same effect could be achieved if the Tooltipmanager will listen to MenuKey events(If it registers MenuKeyListener for the JMenuItem). It is called from the MenuSelectionManager.processKeyEvent()->JMenuItem.processKeyEvent()->JMenuItem.processMenuKeyEvent(). -- Best regards, Sergey.
