• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JFrame and Right to left

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I've never won anything before. Not even a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic