From: Bob J. <jac...@us...> - 2003-05-11 02:01:07
|
Update of /cvsroot/jmri/jmri/jmrit/throttle In directory sc8-pr-cvs1:/tmp/cvs-serv29804/jmrit/throttle Modified Files: ThrottleCreationAction.java Log Message: add default ctor (without argument) so that the Action object can be created via reflection easily Index: ThrottleCreationAction.java =================================================================== RCS file: /cvsroot/jmri/jmri/jmrit/throttle/ThrottleCreationAction.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** ThrottleCreationAction.java 14 Apr 2003 13:38:53 -0000 1.6 --- ThrottleCreationAction.java 11 May 2003 02:00:33 -0000 1.7 *************** *** 22,25 **** --- 22,29 ---- } + public ThrottleCreationAction() { + this("New Throttle..."); + } + /** * The action is performed. Create a new ThrottleFrame. *************** *** 27,31 **** */ public void actionPerformed(ActionEvent e) { ! ThrottleFrame tf = ThrottleFrameManager.instance().createThrottleFrame(); tf.setVisible(true); --- 31,35 ---- */ public void actionPerformed(ActionEvent e) { ! ThrottleFrame tf = ThrottleFrameManager.instance().createThrottleFrame(); tf.setVisible(true); |