[Javanetsim-cvs] javaNetSim/guiUI RunCMD.java,1.2,1.3
Status: Beta
Brought to you by:
darkkey
From: QweR <qw...@us...> - 2006-03-03 02:28:41
|
Update of /cvsroot/javanetsim/javaNetSim/guiUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25756/guiUI Modified Files: RunCMD.java Log Message: Index: RunCMD.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/guiUI/RunCMD.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RunCMD.java 28 Feb 2006 16:55:35 -0000 1.2 --- RunCMD.java 3 Mar 2006 02:28:34 -0000 1.3 *************** *** 115,123 **** panel.setPreferredSize(new java.awt.Dimension(600,500)); scrollpane.setViewportView(terminal); ! terminal.setEnabled(false); terminal.setEditable(false); terminal.setBackground(Color.BLACK); terminal.setForeground(Color.WHITE); terminal.setFont(new Font("Courier New", Font.PLAIN, 12)); cmdline.addKeyListener( kl = new KeyAdapter(){ --- 115,124 ---- panel.setPreferredSize(new java.awt.Dimension(600,500)); scrollpane.setViewportView(terminal); ! terminal.setEnabled(true); terminal.setEditable(false); terminal.setBackground(Color.BLACK); terminal.setForeground(Color.WHITE); terminal.setFont(new Font("Courier New", Font.PLAIN, 12)); + cmdline.setFocusable(true); cmdline.addKeyListener( kl = new KeyAdapter(){ |