title: Handle JPopupMenu closed
body: <p>I want to highlight some elements on screen, when one JMenuItem in PopupMenu ist selected(mouse over). So i use MouseListener on my JMenuItem with</p>
  
  <pre><code>        @Override
          public void mouseEntered(MouseEvent e) {
              highlightOn();
          }
  
          @Override
          public void mouseExited(MouseEvent e) {
              highlightOff();
          }
  </code></pre>
  
  <p>It works fine, but if i press Esc the popup menu will be closed, without clean the highligt. How can i intercept the closing of JPopupMenu to handle this? </p>