void (JComponent c) { super.installUI(c); updateStyle(Style.CURRENT.getValue()); processReferences(this, null, null); AWTEventListener listener = MOVEMENT_LISTENER.getAndSet(null); // add only one movement listener if (listener != null) Toolkit.getDefaultToolkit().addAWTEventListener(listener, AWTEvent.MOUSE_MOTION_EVENT_MASK); }