예제 #1
0
 public void destroyTitleBar() {
   int comp = nord.getComponentCount();
   Component icomp;
   for (int i = 0; i < comp; i++) {
     icomp = nord.getComponent(i);
     if (icomp != null) {
       ListenerTools.removeListeners(icomp);
       icomp = null;
     }
   }
   ListenerTools.removeListeners(thisContent);
   comp = thisContent.getComponentCount();
   for (int i = 0; i < comp; i++) {
     icomp = thisContent.getComponent(i);
     if (icomp != null) {
       ListenerTools.removeListeners(icomp);
       icomp = null;
     }
   }
   ListenerTools.removeListeners(inhalt);
   comp = inhalt.getComponentCount();
   for (int i = 0; i < comp; i++) {
     icomp = inhalt.getComponent(i);
     if (icomp != null) {
       ListenerTools.removeListeners(icomp);
       icomp = null;
     }
   }
 }
예제 #2
0
 public void windowClosed(WindowEvent arg0) {
   // System.out.println("In windowClosed von RehaSmartDialog");
   ListenerTools.removeListeners(tfs[0]);
   ListenerTools.removeListeners(tfs[1]);
   ListenerTools.removeListeners(buts[0]);
   ListenerTools.removeListeners(buts[1]);
   jpan = null;
   ListenerTools.removeListeners(this);
   removeWindowListener(this);
   acli = null;
   kli = null;
   fon = null;
 }