Ignore:
Timestamp:
02/10/2019 06:43:12 AM (7 years ago)
Author:
jdalbey
Message:

TrafficEventEditor?: Added file chooser to save button. TODO: Save the script to the selected file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/atmsdriver/trafficeventseditor/TrafficEventsEditor.form

    r247 r253  
    898898                  <EmptySpace pref="28" max="32767" attributes="0"/> 
    899899                  <Group type="103" groupAlignment="1" max="-2" attributes="0"> 
    900                       <Component id="jButton2" max="32767" attributes="0"/> 
     900                      <Component id="btnSave" max="32767" attributes="0"/> 
    901901                      <Component id="jButton1" max="32767" attributes="0"/> 
    902902                      <Component id="jButton3" alignment="0" max="32767" attributes="0"/> 
     
    912912                  <Component id="jButton1" min="-2" max="-2" attributes="0"/> 
    913913                  <EmptySpace max="-2" attributes="0"/> 
    914                   <Component id="jButton2" min="-2" max="-2" attributes="0"/> 
     914                  <Component id="btnSave" min="-2" max="-2" attributes="0"/> 
    915915                  <EmptySpace max="-2" attributes="0"/> 
    916916                  <Component id="jButton3" min="-2" max="-2" attributes="0"/> 
     
    926926          </Properties> 
    927927        </Component> 
    928         <Component class="javax.swing.JButton" name="jButton2"> 
     928        <Component class="javax.swing.JButton" name="btnSave"> 
    929929          <Properties> 
    930930            <Property name="text" type="java.lang.String" value="Save Script"/> 
    931931          </Properties> 
     932          <Events> 
     933            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnSaveActionPerformed"/> 
     934          </Events> 
    932935        </Component> 
    933936        <Component class="javax.swing.JButton" name="jButton3"> 
Note: See TracChangeset for help on using the changeset viewer.