code: @Override
      public void mouseClicked(MouseEvent evt) {
          if (evt.getClickCount() == 2) {
              triggerMaximisation((Component) evt.getSource());
          }
      }
docs: Calls {@link #triggerMaximisation(Component)} when clicked twice, with the source of the event as parameter.