Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / October 2004

Tip: Looking for answers? Try searching our database.

input text right to left

Thread view: 
ROBT NISHIDA - 29 Oct 2004 00:04 GMT
Hi,

I am new to java. Am creating a math page for teachers.  I have math
problems where the input needs to be right to left (e.g. adding two several
digit numbers in a column).  Is there an easy way to specify that the text
insertion point needs to move from right to left instead on the standard
left to right?  I tried the direction property, but that doesn't seem to
work.

kd
Oscar kind - 29 Oct 2004 17:53 GMT
> I am new to java. Am creating a math page for teachers.  I have math
> problems where the input needs to be right to left (e.g. adding two several
> digit numbers in a column).  Is there an easy way to specify that the text
> insertion point needs to move from right to left instead on the standard
> left to right?  I tried the direction property, but that doesn't seem to
> work.

What kind of "math page" do you mean? HTML as part of a web application?
Part of an applet? Please specify, as the answer depends on this.

The possibilities I can think of are:
- Part of an HTML page:
 Look at the HTML specification, or one of the dozens reference manuals
 on HTML.
- Part of a Swing interface (either an application or an applet):
 Have a look at the Java API for ypou input elements. Especially
 alignment.

Signature

Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website

PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.