• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JFrame and Right to left

 
Mazen Mahmoud
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it possible to make a JFrame (and all its components) appears from right to left??? check the arabic screen at http://java.sun.com/docs/books/tutorial/ui/features/i18n.html


It's urgent.
Thanks
 
Maneesh Godbole
Saloon Keeper
Posts: 11165
14
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well since you have posted the link yourself, the obvious answer is yes.
Where are you stuck at?
 
Mazen Mahmoud
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i have designed a full english application. what i need now is to make it in arabic. sure i don't want to create new screens for arabic. I'm using netbeans. I've created all resource bundles. The problem is that i'm unable to let the screen (frames, labels, panels etc) switch to RTL. In fact i used component orientation, but what i need is if for example on the english screen i have label1 textbox1 label2 textbox2 => on the arabic one i want it to appear as textbox2 label2 textbox1 label1.

Is it possible??
 
Maneesh Godbole
Saloon Keeper
Posts: 11165
14
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mazen Mahmoud:
.. The problem is that i'm unable to let the screen (frames, labels, panels etc) switch to RTL. In fact i used component orientation, but what i need is if for example on the english screen i have label1 textbox1 label2 textbox2 => on the arabic one i want it to appear as textbox2 label2 textbox1 label1.


You are confusing the component orientation and the layout.
The layout will define the sequence of the children in the parent container whereas the orientation will define the well orientation.

Check out this thread where the OP was trying to do something similar to your requirement.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic