-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
x86
-
windows_xp
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Windows XP
A DESCRIPTION OF THE PROBLEM :
While displaying the number of tabs in wrapped mode in “com.sun.java.swing.plaf.windows.WindowsLookAndFeel” look and feel
The selected tab covers the text of the above one
REPRODUCIBILITY :
This bug can be reproduced always.
Additional details from submitter:
=================================
,this is regarding with issues in
"com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI.java"
Problem:-
When the number of tabs are in WRAP_TAB_LAYOUT,then selected tab hides the
some portion of the text of the tab just above to selected one
Root cause:- WindowsTabbedPaneUI not overriding layoutLabel()
method,therefore tabs of Windows L&F facing this problem
Solution:-WindowsTabbedPaneUI.java IS-A BasicTabbedPaneUI
it is inheriting method layoutLabel() from its base class that is
BasicTabbedPaneUI
but not overriding,this method contains positions of the text and icon of
the Tab
by adjusting these values in we can resolve problem
ADDITIONAL OS VERSION INFORMATION :
Windows XP
A DESCRIPTION OF THE PROBLEM :
While displaying the number of tabs in wrapped mode in “com.sun.java.swing.plaf.windows.WindowsLookAndFeel” look and feel
The selected tab covers the text of the above one
REPRODUCIBILITY :
This bug can be reproduced always.
Additional details from submitter:
=================================
,this is regarding with issues in
"com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI.java"
Problem:-
When the number of tabs are in WRAP_TAB_LAYOUT,then selected tab hides the
some portion of the text of the tab just above to selected one
Root cause:- WindowsTabbedPaneUI not overriding layoutLabel()
method,therefore tabs of Windows L&F facing this problem
Solution:-WindowsTabbedPaneUI.java IS-A BasicTabbedPaneUI
it is inheriting method layoutLabel() from its base class that is
BasicTabbedPaneUI
but not overriding,this method contains positions of the text and icon of
the Tab
by adjusting these values in we can resolve problem
- duplicates
-
JDK-6707292 The text is cut off in JTabbedPane's tabs with Windows LAF
-
- Open
-