-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6u5
-
x86
-
windows_xp
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.
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.
- duplicates
-
JDK-6661618 Nimbus L&F: JToolBar - Issues
-
- Closed
-