Changeset 124 in tmcsimulator for trunk/src


Ignore:
Timestamp:
10/15/2017 04:30:50 PM (9 years ago)
Author:
jdalbey
Message:

CADClientVew.java Changed to action when server drops to hard exit because Windows was just hanging the app. More renaming.

Location:
trunk/src/tmcsim
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/application.properties

    r123 r124  
    1 #Sun, 15 Oct 2017 17:03:46 -0700 
     1#Sun, 15 Oct 2017 17:38:51 -0700 
    22 
    3 Application.revision=122 
     3Application.revision=123 
    44 
    5 Application.buildnumber=52 
     5Application.buildnumber=53 
  • trunk/src/tmcsim/cadsimulator/viewer/CADServerViewer.java

    r49 r124  
    2525/** 
    2626 * This class provides a GUI to view current status information for the CAD 
    27  * Simulator. 
     27 * Server. 
    2828 * 
    2929 * @see SimulationStatusPanel 
     
    3333 */ 
    3434@SuppressWarnings("serial") 
    35 public class CADSimulatorViewer extends JFrame implements CADViewer 
     35public class CADServerViewer extends JFrame implements CADViewer 
    3636{ 
    3737 
     
    5252     * Constructor. 
    5353     */ 
    54     public CADSimulatorViewer() 
     54    public CADServerViewer() 
    5555    { 
    5656        super(); 
    57         setTitle("CAD Simulator " + getAppVersion()); 
     57        setTitle("CAD Server " + getAppVersion()); 
    5858 
    5959        initComponents(); 
  • trunk/src/tmcsim/cadsimulator/viewer/actions/ExitAction.java

    r24 r124  
    33import java.awt.event.ActionEvent; 
    44import javax.swing.AbstractAction; 
    5 import tmcsim.cadsimulator.viewer.CADSimulatorViewer; 
     5import tmcsim.cadsimulator.viewer.CADServerViewer; 
    66 
    77/** 
     
    1919     * Reference to the CADSimulatorViewer. 
    2020     */ 
    21     private CADSimulatorViewer theViewer; 
     21    private CADServerViewer theViewer; 
    2222 
    23     public ExitAction(CADSimulatorViewer viewer) 
     23    public ExitAction(CADServerViewer viewer) 
    2424    { 
    2525        super("Exit"); 
  • trunk/src/tmcsim/client/CADClientView.java

    r37 r124  
    4848 * Main Text Area, and Footer.  User input is handled by the Command Line Pane. 
    4949 * Any commands are sent to the model which are then transmitted to the 
    50  * CAD Simulator.  The view keeps track of current CAD Screen Number and the 
     50 * CAD Server.  The view keeps track of current CAD Screen Number and the 
    5151 * current page being displayed on each screen.  This allows for the screen 
    5252 * refresh and cycle commands to return the screen to its previous page.  
     
    645645        { 
    646646            JOptionPane.showMessageDialog(this,  
    647                     "Connection to the CAD Simulator has been lost.  " + 
     647                    "Connection to the CAD Server has been lost.  " + 
    648648                    "Restart the CAD Client.", "Connection Error",  
    649649                    JOptionPane.ERROR_MESSAGE);  
    650             return; 
     650            //return; 
     651            // Changed to hard exit because Windows was hanging here 
     652            System.exit(-1); 
    651653        } 
    652654         
Note: See TracChangeset for help on using the changeset viewer.