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

TabStop class should be more International

    XMLWordPrintable

    Details

      Description

      A DESCRIPTION OF THE REQUEST :
      In germany we use the ',' instead the '.' for decimal numbers, 0.00 in german is 0,00 So it is not possible to use the TabStop class for TabStop.ALIGN_DECIMAL
      correct in germany.

      I found in the class ParagrapView that the character for TabStop.ALIGN_DECIMAL
      is static. It would be very helpfull to set this character to an individual character.

      The RTFEditorKit schould also handle this extension for reading and writing RTF
      Files.

      JUSTIFICATION :
      Free configure for ALIGN_DECIMAL character in TabStop Class would be
      prevent to override some swing.text classes.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Confiuring, reading and writing RTF Files (if possible) with own defined TabStops align
      character when using ALIGN_DECIMAL
      ACTUAL -
      Only TextPane using decimal numbers with '.' handle alignment right.

      CUSTOMER SUBMITTED WORKAROUND :
      Override TextEditor Class and override PragraphViewClass.
      Reading and writing to files is not jet implemented.
      ###@###.### 10/13/04 21:36 GMT

        Attachments

          Activity

            People

            Assignee:
            peterz Peter Zhelezniakov
            Reporter:
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: