-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
x86
-
windows_98
When creating a Frame with a JTabbedPane from a default constructor and then launching another JFrame, from that JFrame, that has a JTabbedPane with scrollable tabs the scrollable thumbs fail to scroll in the second JTabbedPane.
Source sample attached.
Steps to repro:
1. Compile both attached .java files
2. Run the JFrame1.class
3. Click the button to load up the 2nd JFrame (with the 2nd JTabbedPane)
Observe: Scrollable buttons do not scroll
Note1: If the first one is set scrollable as well (in ctor) all is well.
Note2: Have yet to try on Solaris, but guessing it is there too. Tested Win98 only.
Source sample attached.
Steps to repro:
1. Compile both attached .java files
2. Run the JFrame1.class
3. Click the button to load up the 2nd JFrame (with the 2nd JTabbedPane)
Observe: Scrollable buttons do not scroll
Note1: If the first one is set scrollable as well (in ctor) all is well.
Note2: Have yet to try on Solaris, but guessing it is there too. Tested Win98 only.
- duplicates
-
JDK-4399562 JTabbedPane setTabLayoutPolicy: created scroll buttons do not do anything
-
- Resolved
-