Changeset 57 in tmcsimulator for trunk/src/tmcsim/client/CADClockDisplay.java


Ignore:
Timestamp:
03/14/2017 07:25:16 PM (9 years ago)
Author:
jdalbey
Message:

Clock Client first draft

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/client/CADClockDisplay.java

    r54 r57  
    156156        // relationship. 
    157157        theClientScreenView = new CADClockView(theClientScreenModel); 
    158         theClientScreenView.setVisible(false); 
    159  
     158        theClientScreenModel.addObserver(theClientScreenView); 
     159        theClientScreenView.setVisible(true); 
     160        // Create the CAD Client thread to run the CADClientModel Object. 
     161        Thread clientThread = new Thread(theClientScreenModel); 
     162        clientThread.start(); 
     163         
    160164        // TODO: set up model-view relationship similar to ClientView and 
    161165        // ScreenView 
Note: See TracChangeset for help on using the changeset viewer.