There are several languages which are written from right to left. Java support changing GUI direction and support direction by locale.
Basically when creating a GUI component :
mainView.applyComponentOrientation(ComponentOrientation.getOrientation(Resource.getLocale()));
Logged In: YES
user_id=219057
Originator: NO
Implemented in 1.x and 2.x