public void close() {
   if (views != null) {
     views.dispose();
   }
   runonce = false;
   AdvPropScreen.getInstance().enableButtons();
   model = null;
   removeAll();
   dispose();
 }
 public void actionPerformed(java.awt.event.ActionEvent arg0) {
   AdvPropScreen.getInstance().enableButtons();
   close();
 }