private class YourMouseListener extends MouseAdapter {

    public void mouseClicked(MouseEvent event) {
      Object object = event.getSource();
      //Perform actions on double-click events
      if (event.getClickCount() == 2) {
        // do action here
      }
    }
  }