public void mouseReleased(MouseEvent e) { int x = e.getX(); int y = e.getY(); control.slide(x, y); }
public void mousePressed(MouseEvent e) { int x = e.getX(); int y = e.getY(); control.select(x, y); }