Changeset 460 in tmcsimulator


Ignore:
Timestamp:
07/23/2019 05:35:03 AM (7 years ago)
Author:
jdalbey
Message:

SimulationManagerView?.java: modify setScriptStatus() to fix ticket #172.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/simulationmanager/SimulationManagerView.java

    r459 r460  
    363363     *    </tr> 
    364364     *    <tr> 
    365      *      <td>SCRIPT_STOPPED_STARTED<br></td> 
     365     *      <td>SCRIPT_PAUSED_STARTED<br></td> 
    366366     *      <td>Set the simulation status text to a red "Paused".  Then  
    367367     *          enable the 'Start' and 'Reset' buttons, and disable the 'Pause' 
     
    386386     * @param status Script status value. 
    387387     */ 
    388     public void setScriptStatus(SCRIPT_STATUS status) { 
    389          
     388    public void setScriptStatus(SCRIPT_STATUS status)  
     389    { 
    390390        switch(status) { 
    391391            case NO_SCRIPT: 
     
    404404                     
    405405                startButton.setEnabled(true); 
     406                startButton.setText("Start"); 
    406407                pauseButton.setEnabled(false); 
    407408                resetButton.setEnabled(true);        
     
    418419                     
    419420                startButton.setEnabled(true); 
     421                startButton.setText("Resume"); 
    420422                pauseButton.setEnabled(false); 
    421423                resetButton.setEnabled(true);                
Note: See TracChangeset for help on using the changeset viewer.