Changeset 108 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/ScriptBuilderFrame.form


Ignore:
Timestamp:
09/05/2017 03:17:45 PM (9 years ago)
Author:
bmcguffin
Message:

Removed JSpinner "addIncidentLength" in JFrame "incidentFrame". Replaced it with a JLabel "labelIncidentLength" which reports the incident length in minutes, but which does not allow the user to directly edit the incident length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/ScriptBuilderFrame.form

    r105 r108  
    274274                          <EmptySpace min="-2" pref="18" max="-2" attributes="0"/> 
    275275                          <Group type="103" groupAlignment="0" attributes="0"> 
    276                               <Component id="addIncidentStart" alignment="0" pref="158" max="32767" attributes="0"/> 
    277                               <Component id="addIncidentLength" alignment="0" pref="158" max="32767" attributes="0"/> 
     276                              <Group type="102" attributes="0"> 
     277                                  <EmptySpace min="6" pref="6" max="-2" attributes="0"/> 
     278                                  <Component id="labelIncidentLength" max="32767" attributes="0"/> 
     279                                  <EmptySpace min="22" pref="22" max="-2" attributes="0"/> 
     280                              </Group> 
     281                              <Component id="addIncidentStart" pref="158" max="32767" attributes="0"/> 
    278282                          </Group> 
    279283                      </Group> 
     
    305309                  <Component id="jLabel10" min="-2" max="-2" attributes="0"/> 
    306310                  <EmptySpace max="-2" attributes="0"/> 
    307                   <Component id="jScrollPane1" pref="106" max="32767" attributes="0"/> 
     311                  <Component id="jScrollPane1" pref="118" max="32767" attributes="0"/> 
    308312                  <EmptySpace max="-2" attributes="0"/> 
    309313                  <Group type="103" groupAlignment="3" attributes="0"> 
     
    313317                  <EmptySpace max="-2" attributes="0"/> 
    314318                  <Group type="103" groupAlignment="3" attributes="0"> 
    315                       <Component id="addIncidentLength" alignment="3" min="-2" max="-2" attributes="0"/> 
    316319                      <Component id="jLabel11" alignment="3" min="-2" max="-2" attributes="0"/> 
     320                      <Component id="labelIncidentLength" alignment="3" min="-2" max="-2" attributes="0"/> 
    317321                  </Group> 
    318322                  <EmptySpace max="-2" attributes="0"/> 
     
    398402          </Properties> 
    399403        </Component> 
    400         <Component class="javax.swing.JSpinner" name="addIncidentLength"> 
    401           <Properties> 
    402             <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor"> 
    403               <SpinnerModel initial="0" minimum="0" numberType="java.lang.Integer" stepSize="1" type="number"/> 
    404             </Property> 
    405           </Properties> 
    406         </Component> 
    407404        <Component class="javax.swing.JLabel" name="jLabel12"> 
    408405          <Properties> 
     
    431428              <Color blue="0" green="0" red="0" type="rgb"/> 
    432429            </Property> 
     430          </Properties> 
     431        </Component> 
     432        <Component class="javax.swing.JLabel" name="labelIncidentLength"> 
     433          <Properties> 
     434            <Property name="horizontalAlignment" type="int" value="4"/> 
     435            <Property name="text" type="java.lang.String" value="0"/> 
     436            <Property name="toolTipText" type="java.lang.String" value=""/> 
    433437          </Properties> 
    434438        </Component> 
Note: See TracChangeset for help on using the changeset viewer.