Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4280285

JTextField does not right align mixed (english and bidi) text

XMLWordPrintable



      Name: vr73486 Date: 10/12/99

      JTextFields that are RIGHT aligned and have english and bidi text in them, alignment is not correct
      JTextFields that are RIGHT aligned and have only bidi text in them, alignment is correct

      To reproduce the problem:
      Create an applet or application with two RIGHT aligned JTextFields
      Initialize the first field with mixed (english and bidi) text.
      Initialize the second field with only bidi text.
      Compile and run applet (application)
      Observe starting location of text in both fields
      Delete english text from first field, note that now text in both fields start from the same point
      Insert english characters any where in both fields
      Noter that inserting english characters at this stage does not produce the problem again

      WorkAround:
      ======================================================================

            bcbeck Brian Beck (Inactive)
            vrosenmasunw Victor Rosenman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: