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

JTextArea cannot draw big size text(200KBytes) correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.7
    • client-libs
    • generic, sparc
    • generic, solaris_2.6



      Name: clC74495 Date: 02/19/99


      Carlos.Lucasius@Canada (February 19, 1999):
      Justification for priority 1: Licensee has indicated
      that this is a SHOWSTOPPER bug for them.

      >>> Original bug report follows >>>


      JTextArea cannot draw big size text correctly.
      This bug appears in Swing 1.1 or 1.1.1beta1 on JDK 1.1.x.
      Swing of JDK 1.2 doesn't have this bug.

      I tested using the Notepad which is within Swing examples.
      When Notepad read big size text file (200K over),
      the background color of some text areas of Notepad
      was drawn in gray.
      The default background color is white.
      If you drag the text in the gray area,
      you can see garbage characters.
      The characters are drawn repeatedly,
      because background is not cleared.
      It seems the caret information is strange, too.

      When the backingStore is true
      using resources/Notepad.properties,
      it seems the caret information becomes correct.
      And the color of backround becomes white.
      But there are some areas
      which background images are not cleared correctly.
      If you drag scroll bar from the top to the bottom,
      you will see the characters are drawn without cleared.

      I have tested this bug in JDK 1.1.7B on Solaris,
      JDK 1.1.7 on Linux, JDK 1.2 on Solaris.
      JDK 1.2 doesn't have this bug.
      This bug appears in Swing 1.1(or 1.1.1) on JDK 1.1.x.

      This bug is "showstopper" bug for our product.
      (Review ID: 54411)
      ======================================================================

            rkhansunw Robi Khan (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: