diff options
Diffstat (limited to 'examples/TestIvySwing.java')
-rw-r--r-- | examples/TestIvySwing.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/TestIvySwing.java b/examples/TestIvySwing.java index cb3eca5..31a54a9 100644 --- a/examples/TestIvySwing.java +++ b/examples/TestIvySwing.java @@ -122,9 +122,9 @@ class TestIvySwing extends JPanel implements IvyApplicationListener { ports.addActionListener(new ComboCB()); p.add(ports); add(p,BorderLayout.SOUTH); - tfRegex.setNextFocusableComponent(tfSend); - tfSend.setNextFocusableComponent(tfRegex); - tfSend.setRequestFocusEnabled(true); + //tfRegex.setNextFocusableComponent(tfSend); + //tfSend.setNextFocusableComponent(tfRegex); + //tfSend.setRequestFocusEnabled(true); localname = "TestIvySwing "+Ivy.libVersion+" ("+index+")"; index++; bus = new Ivy(localname,localname+" ready",this); @@ -232,7 +232,7 @@ class TestIvySwing extends JPanel implements IvyApplicationListener { if (--nbTIS == 0) System.exit(0); // I leave when the last TestIvySwing exits System.out.println("closed"); } - public void windowActivated(WindowEvent e) {tfSend.grabFocus();} + public void windowActivated(WindowEvent e) {tfSend.requestFocus();} } private class SPAWN implements ActionListener { |