Irrelevant change of button size in Right to Left orientation
I have 9 jbuttons added to jpanel and the panel added to jscrollpane and it added to jframe. http://www.pic1.iran-forum.ir/images/up9/95426323683658592564.jpg when i change frame orientation by: applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT); the panel move to right and size of buttons got fixed and wouldn`t fill the panel but you see in the image below that scrolbar is fill all width of panel http://www.pic1.iran-forum.ir/images/up9/60975202722295688553.jpg (i used gridbaglayout for adding buttons and borderlayout.center for add scrollpane). is that a bug in java or ? EDIT: its