@Override
      public void keyPressed(KeyEvent e) {
        switch (e.getKeyCode()) {
          case KeyEvent.VK_ESCAPE -> cancelPipette();
          case KeyEvent.VK_ENTER -> pickAndClose();
        }
      }
@Override
      public void keyPressed(KeyEvent e)