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

REGRESSION:JTabbedPane not laying out non-visible tabs

XMLWordPrintable

      J2SE Version (please include all output from java -version flag):

      java version "1.7.0-ea"
      Java(TM) SE Runtime Environment (build 1.7.0-ea-b140)
      Java HotSpot(TM) Client VM (build 21.0-b10, mixed mode, sharing)

      Does this problem occur on J2SE 1.4.x, 1.5 or 6? Yes / No (pick one)
      No


      Operating System Configuration Information (be specific):
      Windows Vista Business SP2

      Hardware Configuration Information (be specific):
      HP Pavillion dv9000
      Windows Vista Business SP1 32 bit
      3 GB RAM
      Intel Core 2 Duo T9300



      Bug Description:

      We have a lazily loaded UI that somewhat resembles the attached test program.
      What happens is that the user interface is created, with a table in a tabbed pane.

      The data to populate the rows is loaded in the background. If that tab with the
      table is showing when the rows are added, everything is fine. But if the tab
      is selected after the rows are added, the table does not show them. To get them
      to show, resize the frame or a column.

      This is not the behaviour of 1.6


      Steps to Reproduce (be specific):

      Use the NB7 project

      Run the project with run config Test6
      The dialog will show. Don't do anything to the interface until the "Adding Rows"
      shows up in the console

      Change to the 'Second' tab.
      The table will have 3 rows.

      Now do the same thing using the Test7 run configuration.
      The table will not show the 3 rows until the frame or the columns are resized.

      On the third run, change to the 'Second' tab immediately (still using Test7
      run config).
      The rows will show up as they should.

      Adding rows using the big button on the "First" tab also shows the same issue.

            alexp Alexander Potochkin (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: