-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
x86, sparc
-
solaris_2.6, windows_98
Creating a JTabbedPane with scroll tabs works via constructor creation but the button thumbs fail to traverse the tabs when the property is called directly via setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT).
Attached sample.
Steps:
1. Compile sample
2. Run sample
3. Click the button, the TabPane will convert to scrolls
4. Try to click the right arrow to move tabs
Observe: Nothing happens, same test with the TabPane created in constructor works, i.e.
tabPane = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
Attached sample.
Steps:
1. Compile sample
2. Run sample
3. Click the button, the TabPane will convert to scrolls
4. Try to click the right arrow to move tabs
Observe: Nothing happens, same test with the TabPane created in constructor works, i.e.
tabPane = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
- duplicates
-
JDK-4399871 JTabbedPane scrollable buttons fail to work on second JTabbedPane Creation
-
- Closed
-