From: Dennis M. <mil...@us...> - 2005-03-28 04:18:55
|
Update of /cvsroot/jmri/apps/JmriDemo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29509/src/apps/JmriDemo Modified Files: JMRIdemo.java Log Message: Change JMRIdemo and SplashWindow to use JmriJFrame instead of JFrame Index: JMRIdemo.java =================================================================== RCS file: /cvsroot/jmri/apps/JmriDemo/JMRIdemo.java,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** JMRIdemo.java 16 Feb 2004 04:56:57 -0000 1.62 --- JMRIdemo.java 28 Mar 2005 04:18:46 -0000 1.63 *************** *** 8,11 **** --- 8,12 ---- import javax.swing.*; + import jmri.util.JmriJFrame; /** *************** *** 58,62 **** setConfigFilename("JmriDemoConfig2.xml", args); ! JFrame f = new JFrame("JmriDemo"); createFrame(new JMRIdemo(f), f); --- 59,63 ---- setConfigFilename("JmriDemoConfig2.xml", args); ! JmriJFrame f = new JmriJFrame("JmriDemo"); createFrame(new JMRIdemo(f), f); |