File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
test/jdk/javax/swing/JSplitPane Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ public class TestSplitPaneCompResize {
5252 private static JFrame frame ;
5353 private JSplitPane outer ;
5454 private static JButton leftOneTouchButton ;
55- private static JButton rightOneTouchButton ;
5655 private static volatile Point leftBtnPos ;
5756 private static volatile boolean resized ;
5857
@@ -132,7 +131,7 @@ public static void main(String[] s) throws Exception {
132131 robot .delay (1000 );
133132
134133 if (!resized ) {
135- throw new RuntimeException ("ComponetResized not called" );
134+ throw new RuntimeException ("ComponentResized not called" );
136135 }
137136 } finally {
138137 SwingUtilities .invokeAndWait (() -> {
@@ -167,7 +166,7 @@ protected JButton createLeftOneTouchButton() {
167166 }
168167
169168 protected JButton createRightOneTouchButton () {
170- rightOneTouchButton = super .createRightOneTouchButton ();
169+ JButton rightOneTouchButton = super .createRightOneTouchButton ();
171170 return rightOneTouchButton ;
172171 }
173172 }
You can’t perform that action at this time.
0 commit comments