public static void install(JLabel labelToClip, JComponent componentToWatch) {
    componentToWatch.addComponentListener(new FilePathClipper(labelToClip, componentToWatch));
  }
public static void install(JLabel labelToClip, JComponent componentToWatch)