void (PropertyChangeEvent evt) { if (myPanel.isShowing()) { final String name = evt.getPropertyName(); if ("focusOwner".equals(name) || "permanentFocusOwner".equals(name)) { myPanel.getUpdateQueue().restartRebuild(); } } }