if (e.getClickCount() == 2) {  screen.sendKeys("[enter]"); } else {
         public void mouseClicked(MouseEvent e) {               if (e.getClickCount() == 2) {                  screen.sendKeys("[enter]");               }               else {                  screen.moveCursor(e);                  repaint();                  getFocusForMe();               }         }