@Override
 public void propertyChange(PropertyChangeEvent evt) {
   if (myPanel.isShowing()) {
     final String name = evt.getPropertyName();
     if ("focusOwner".equals(name) || "permanentFocusOwner".equals(name)) {
       myPanel.getUpdateQueue().restartRebuild();
     }
   }
 }
 private void updateModel() {
   if (myPanel.isShowing()) {
     myPanel.getModel().setChanged(true);
     myPanel.getUpdateQueue().queueModelUpdateFromFocus();
   }
 }
 private void rebuildUI() {
   if (myPanel.isShowing()) {
     myPanel.getUpdateQueue().queueRebuildUi();
   }
 }