if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) {
if (isLinux && e.getKeyCode() == KeyEvent.VK_ALT_GRAPH) {
   void processVTKeyReleased(KeyEvent e){         displayInfo(e);      if (isLinux && e.getKeyCode() == e.VK_ALT_GRAPH) {         isAltGr = false;      }      int keycode = e.getKeyCode();      if (e.isAltDown() ||         e.isShiftDown() ||         e.isControlDown() ||         e.isActionKey() ||         keycode == KeyEvent.VK_CONTROL) {         keyevent = e;         dialog.setVisible(false);         dialog.dispose();      }  }