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

Inserting Box.createHorizontalGlue() to JTollBar on Nimbus doesn't work

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.6.0_10-ea"
      Java(TM) SE Runtime Environment (build 1.6.0_10-ea-b09)
      Java HotSpot(TM) Client VM (build 11.0-b09, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Wersja 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Inserting Box.createHorizontalGlue() to JTollBar on Nimbus doesn't work. On other layouts work ok. When I'm using this glue with other lauouts, components added after this glue is aligned to right border, nimbus ignore this glue.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Add to JFrame JTollBar ane add first JButton, next add Box.createHorizontalGlue(), and add secons JButton

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Second JButton is aligned to the right border of the window
      ACTUAL -
      Second JButton is aligned near to the first button

      REPRODUCIBILITY :
      This bug can be reproduced always.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: