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

GTK l&f - JTabbedPane strangely behaves with SCROLL_TAB_LAYOUT layout setting

XMLWordPrintable

    • b23
    • x86
    • windows_xp


        ###@###.### 2003-04-30

        J2SE Version (please include all output from java -version flag):
          java version "1.4.2-rc"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-rc-b20)
          Java HotSpot(TM) Client VM (build 1.4.2-rc-b20, mixed mode)


        Does this problem occur on J2SE 1.3, 1.4 or 1.4.1? Yes / No (pick one)
          No

        Operating System Configuration Information (be specific):
          Windows XP (version 5.1 Service Pack 1 (Build 2600))
          with GTK Look and Feel.

        Bug Description:
          When set setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT)
          it causes JTabbedPane behave strangely:
         
          - page count is not correct
          - page not display and wont display when you switch tab
          - border of TitledBorder not display

          all works fine if use WRAP_TAB_POLICY layout policy.


        Steps to Reproduce (be specific):
          compile and run the test program(MantisGTK.java) and explanations are
          provided at runtime.

              joutwatesunw Joshua Outwater (Inactive)
              tyao Ting-Yun Ingrid Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: