Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

How to write Arabic text  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I'm trying to build an application that mostly contains arabic(unicode) text from right to left for both as displayed and for the user of the application to enter text .... i'm using j2sdk 1.4.2 and JCreator to write my code .. So could anyone plz help me finding a way to do that ??

Gr8 Thx
Ola
 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ola,

You should should check first how your OS manage arabic inputs/display. For example, Windows will propably requires you to install a special package that finally add a language in the languages bar (that enables to switch between languages). You should then be able to emulate how Windows switch between languages to switch between languages in your application.

Hope that helps,
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I suggest that you read up about the Java Locale object and look for some tutorials on the web about internationalisation of java swing componants. I think even the java swing tutorial has good information about it.

I remember reading about how you can set the input methods on swing text componants to make the text go from right to left.

It's out there and it is possible.

Cheers, Jared.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!