Changeset 124 in tmcsimulator for trunk/src/tmcsim/client


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.