void () { if (component == null || component.getParent() == null) return; if (isForward()) { component.clear(); component.repaint(); myFadedIn = true; if (!myFadeoutAlarm.isDisposed()) { startFadeoutTimer((int)myFadeoutTime); } } else { layeredPane.remove(component); layeredPane.revalidate(); layeredPane.repaint(); } Disposer.dispose(this); }