/** Switch from internalized <--> externalized state and vice versa */
 public void switchState() {
   if (isExternalized()) internalizeInternal();
   else externalizeInternal();
 }
 /** Internalize panel (remove from independent frame) */
 public void internalize() {
   if (isExternalized()) internalizeInternal();
 }