Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6967483

Selected tab covers the text of the above tab when wrapped mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • client-libs

      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

            Unassigned Unassigned
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: