Exemple #1
0
  public void setVisible(boolean b) {
    if (isVisible() && !b) {
      visibleUntil = System.currentTimeMillis();
    }

    super.setVisible(b);
  }
Exemple #2
0
 public void dispose() {
   visibleUntil = System.currentTimeMillis();
   super.dispose();
 }