--- old/test/jdk/javax/swing/JTabbedPane/4666224/bug4666224.java 2020-04-17 20:18:25.480267200 +0530 +++ new/test/jdk/javax/swing/JTabbedPane/4666224/bug4666224.java 2020-04-17 20:18:23.720186700 +0530 @@ -68,6 +68,24 @@ panel = new JPanel(); panel.setPreferredSize(new Dimension(200, 300)); tabPane.addTab("Number Four", panel); + panel = new JPanel(); + panel.setPreferredSize(new Dimension(200, 300)); + tabPane.addTab("Number Five", panel); + panel = new JPanel(); + panel.setPreferredSize(new Dimension(200, 300)); + tabPane.addTab("Number Six", panel); + panel = new JPanel(); + panel.setPreferredSize(new Dimension(200, 300)); + tabPane.addTab("Number Seven", panel); + panel = new JPanel(); + panel.setPreferredSize(new Dimension(200, 300)); + tabPane.addTab("Number Eight", panel); + panel = new JPanel(); + panel.setPreferredSize(new Dimension(200, 300)); + tabPane.addTab("Number Nine", panel); + panel = new JPanel(); + panel.setPreferredSize(new Dimension(200, 300)); + tabPane.addTab("Number Ten", panel); mainPanel = new JPanel(); mainPanel.add(tabPane); @@ -97,15 +115,14 @@ " If focus doesn't behave as above, ", " press 'Assertion Fail' else press 'Assertion Pass'", }, - - { + { " Note : Incase of Assertion failure,user can enter", " remarks by pressing 'Assertion Fail Remarks ' button", " ", " You would see an applet with JTabbedPane. Keep the size of applet variable.", " ", " ON ALL PLATFORMS", - "1. type 'R' to align the tabs to the right side ", + "1. type 'C' to change the tab layout to WRAP_TAB_LAYOUT ", "2. Lose focus on the window by clicking on some other window ", "3. Focus indicator should disappear", "4. Regain focus on the window the focus indicator should reappear." , @@ -113,14 +130,14 @@ " press 'Assertion Fail' else press 'Assertion Pass'", }, - { + { " Note : Incase of Assertion failure,user can enter", " remarks by pressing 'Assertion Fail Remarks ' button", " ", " You would see an applet with JTabbedPane. Keep the size of applet variable.", " ", " ON ALL PLATFORMS", - "1. type 'B' to align the tabs to the bottom side ", + "1. type 'R' to align the tabs to the right side ", "2. Lose focus on the window by clicking on some other window ", "3. Focus indicator should disappear", "4. Regain focus on the window the focus indicator should reappear." , @@ -135,7 +152,7 @@ " You would see an applet with JTabbedPane. Keep the size of applet variable.", " ", " ON ALL PLATFORMS", - "1. type 'L' to align the tabs to the left side ", + "1. type 'B' to align the tabs to the bottom side ", "2. Lose focus on the window by clicking on some other window ", "3. Focus indicator should disappear", "4. Regain focus on the window the focus indicator should reappear." , @@ -150,7 +167,7 @@ " You would see an applet with JTabbedPane. Keep the size of applet variable.", " ", " ON ALL PLATFORMS", - "1. type 'C' to change the tab layout to WRAP_TAB_LAYOUT ", + "1. type 'L' to align the tabs to the left side ", "2. Lose focus on the window by clicking on some other window ", "3. Focus indicator should disappear", "4. Regain focus on the window the focus indicator should reappear." , @@ -158,6 +175,7 @@ " press 'Assertion Fail' else press 'Assertion Pass'", }, + { " Note : Incase of Assertion failure,user can enter", " remarks by pressing 'Assertion Fail Remarks ' button",