if (isLinux && keyCode == e.VK_ALT_GRAPH) {
if (isLinux && keyCode == KeyEvent.VK_ALT_GRAPH) {
   void processVTKeyPressed(KeyEvent e){      displayInfo(e);      int keyCode = e.getKeyCode();      if (isLinux && keyCode == e.VK_ALT_GRAPH) {         isAltGr = true;      }      // be careful with the control key      if (keyCode == e.VK_UNDEFINED ||            keyCode == e.VK_CAPS_LOCK ||            keyCode == e.VK_SHIFT ||            keyCode == e.VK_ALT ||            keyCode == e.VK_ALT_GRAPH ||            keyCode == e.VK_CONTROL         ) {         return;      }      // be careful with the control key !!!!!!      if (!e.isAltDown() ||         !e.isShiftDown() ||         !e.isControlDown() ||         keyCode != KeyEvent.VK_CONTROL &&  // be careful about removing this line         !e.isActionKey()) {//            if (keyCode == KeyEvent.VK_ESCAPE ||//               keyCode == KeyEvent.VK_CONTROL ||//               keyCode == KeyEvent.VK_BACK_SPACE) {//               displayInfo(e,"Pressed added");            keyevent = e;            dialog.setVisible(false);            dialog.dispose();//            }      }   }