input text that goes right to left

Discussion in 'Java' started by ROBT NISHIDA, Oct 29, 2004.

  1. ROBT NISHIDA

    ROBT NISHIDA Guest

    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
     
    ROBT NISHIDA, Oct 29, 2004
    #1
    1. Advertising

  2. ROBT NISHIDA

    VisionSet Guest

    "ROBT NISHIDA" <> wrote in message
    news:gSegd.5318$jD4.1376@trnddc06...
    > 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.
    >


    Throughout the Swing (AWT?) API there is facility for those
    languages/cultures that are used to reading top right to bottom left.
    I'd bet that this facility carries through to text entry.

    Have a look at this:

    JTextComponent.setComponentOrientation(ComponentOrientation o)

    --
    Mike W
     
    VisionSet, Oct 29, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dimi Shahbaz

    Right to left text area

    Dimi Shahbaz, Feb 8, 2005, in forum: Java
    Replies:
    1
    Views:
    1,148
  2. Replies:
    5
    Views:
    1,123
    Ian Rastall
    Jun 29, 2005
  3. =?Utf-8?B?QmlzaG95?=
    Replies:
    0
    Views:
    1,003
    =?Utf-8?B?QmlzaG95?=
    Dec 28, 2006
  4. Oran
    Replies:
    2
    Views:
    558
  5. mariomueller
    Replies:
    2
    Views:
    564
    mariomueller
    Aug 24, 2006
Loading...

Share This Page