Posted by gegemartinelli
on September 23, 2010 at 7:58 AM PDT
I'm currently using a JPanel with a GridLayout. Then I'm adding a lot of JCheckBox for sorted items to be checked by the end-user.
These items are added Left to Right first then Top to Bottom.
Most of my users asked for changing this orientation Top-Bottom first then Left to Right.
I look at the ComponentOrientation class, and I haven't seen any way to change this order.
The only country which seems to do this is .... Mongolia (TL). Is there a way to define Locale(Mongolia) just for this JPanel and use this with SetComponentOrientation ? If so, how to code this ?
Or is there a more simple way for doing this (except specifying layouts inside GridLayout).
Thanks a lot for help