public void dispose() {
   removeIcons();
   _route.removePropertyChangeListener(this);
   if (_rl != null) {
     _rl.removePropertyChangeListener(this);
   }
   super.dispose();
 }
 public void dispose() {
   carsTableModel.removeTableModelListener(this);
   carsTableModel.dispose();
   if (f != null) {
     f.dispose();
   }
   super.dispose();
 }
 public void dispose() {
   Setup.removePropertyChangeListener(this);
   trainManager.removePropertyChangeListener(this);
   trainScheduleManager.removePropertyChangeListener(this);
   removePropertyChangeTrainSchedules();
   removePropertyChangeLocations();
   trainsScheduleModel.dispose();
   super.dispose();
 }
 public void dispose() {
   if (_track != null) {
     _track.removePropertyChangeListener(this);
   }
   _location.removePropertyChangeListener(this);
   CarLoads.instance().removePropertyChangeListener(this);
   CarTypes.instance().removePropertyChangeListener(this);
   super.dispose();
 }
  @Override
  public void initComponents() {
    super.initComponents();

    // build menu
    addHelpMenu(
        "package.jmri.jmrit.operations.Operations_ManifestPrintOptionsTools", true); // NOI18N

    initMinimumSize(new Dimension(Control.panelWidth300, Control.panelHeight400));
  }
 public void dispose() {
   /*
    * all JMRI window position and size are now saved in user preference file
    * trainManager.setTrainsFrameTableColumnWidths(getCurrentTableColumnWidths()); // save column widths
    * trainManager.setTrainsFrame(null);
    */
   trainsModel.dispose();
   trainManager.runShutDownScripts();
   trainManager.removePropertyChangeListener(this);
   Setup.removePropertyChangeListener(this);
   removePropertyChangeLocations();
   super.dispose();
 }
 protected void storeValues() {
   super.storeValues();
   saveTableDetails(trainsTable);
 }
 public void dispose() {
   removePropertyChangeListeners();
   super.dispose();
 }
Exemple #9
0
 @Override
 public void dispose() {
   locationManager.removePropertyChangeListener(this);
   super.dispose();
 }