@SuppressWarnings("deprecation")
    private static MouseEvent createEvent(MouseEvent e, Component c) {
      return new MouseEvent(c, e.getID(), e.getWhen(), e.getModifiers(), 5, 5, e.getClickCount(), e.isPopupTrigger(), e.getButton());
    }
@SuppressWarnings("deprecation")
    private static MouseEvent createEvent(MouseEvent e, Component c)