public void setVisible(boolean b) { if (isVisible() && !b) { visibleUntil = System.currentTimeMillis(); } super.setVisible(b); }
public void dispose() { visibleUntil = System.currentTimeMillis(); super.dispose(); }