Changeset 207 in tmcsimulator for trunk/src


Ignore:
Timestamp:
11/01/2017 03:25:40 PM (9 years ago)
Author:
jdalbey
Message:

TrafficModelViewer?.java: Elaborate confirmation message on reload, adjust window start position to not overlap CAD Server window.

Location:
trunk/src/tmcsim/cadsimulator/managers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/cadsimulator/managers/TrafficModelViewer.form

    r206 r207  
    55    <Property name="defaultCloseOperation" type="int" value="3"/> 
    66    <Property name="title" type="java.lang.String" value="Traffic Modeler"/> 
     7    <Property name="location" type="java.awt.Point" editor="org.netbeans.beaninfo.editors.PointEditor"> 
     8      <Point value="[100, 100]"/> 
     9    </Property> 
    710  </Properties> 
    811  <SyntheticProperties> 
  • trunk/src/tmcsim/cadsimulator/managers/TrafficModelViewer.java

    r206 r207  
    124124        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 
    125125        setTitle("Traffic Modeler"); 
     126        setLocation(new java.awt.Point(100, 100)); 
    126127 
    127128        lstEvents.setFont(new java.awt.Font("Noto Mono", 0, 12)); // NOI18N 
     
    262263    private void btnReloadActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_btnReloadActionPerformed 
    263264    {//GEN-HEADEREND:event_btnReloadActionPerformed 
    264         String message = "Reload will delete all events in the queue and reload the events file."; 
     265        String message = "Reload will delete all events in the queue and reload the events file.\n" 
     266                +"This will not effect the simulation manager, and will run all events up to\n" 
     267                +"current simulation time."; 
    265268        String title = "Please Confirm"; 
    266269        // display the JOptionPane showConfirmDialog 
Note: See TracChangeset for help on using the changeset viewer.