@Override
 public void mousePressed(MouseEvent e) {
   super.mousePressed(e);
   if (g != null) {
     select = isSelected();
   }
 }
 @Override
 public void mousePressed(MouseEvent e) {
   if (e.isPopupTrigger()) constructPopUpMenu(e);
   super.mousePressed(e);
 }
  @Override
  public void mousePressed(MouseEvent e) {
    super.mousePressed(e);

    down = e.getButton() == 3;
  }
 @Override
 public void mousePressed(MouseEvent e) {
   super.mousePressed(e);
   buttonPressed.add(Button.getButton(e.getButton()));
 }