public void dispose() {
   removeIcons();
   _route.removePropertyChangeListener(this);
   if (_rl != null) {
     _rl.removePropertyChangeListener(this);
   }
   super.dispose();
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 4
0
 public void dispose() {
   if (_track != null) {
     _track.removePropertyChangeListener(this);
   }
   _location.removePropertyChangeListener(this);
   CarLoads.instance().removePropertyChangeListener(this);
   CarTypes.instance().removePropertyChangeListener(this);
   super.dispose();
 }
Exemplo n.º 5
0
  @Override
  public void initComponents() {
    super.initComponents();

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

    initMinimumSize(new Dimension(Control.panelWidth300, Control.panelHeight400));
  }
Exemplo n.º 6
0
 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();
 }
Exemplo n.º 7
0
 protected void storeValues() {
   super.storeValues();
   saveTableDetails(trainsTable);
 }
Exemplo n.º 8
0
 public void dispose() {
   removePropertyChangeListeners();
   super.dispose();
 }
Exemplo n.º 9
0
 @Override
 public void dispose() {
   locationManager.removePropertyChangeListener(this);
   super.dispose();
 }