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

Change JTextArea to word boundary wrap and text is not echoed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs
    • x86, sparc
    • solaris_2.6

      #!/bin/ksh
      JDK=/net/mulder.eng/export/mulder3/jdk12x/`/bin/uname -p`/jdk1.2FCS_R
      #JDK=/net/jde1.eng/export/jtech1/ajacobs/i386/dev5-merge/build/solaris
      #JDK=/net/jde4/export/jde4-1/nightly/generational_heap/ws/build/solaris
      #JDK=/net/jde2/export/home2/nightly/generational_heap/ws/build/solaris
      #JCK=/net/jde1.eng/export/jtech23/JCK-12a
      JCK=/net/ultralynx.eng/export/kumarsv/jck/JCK-12a-O
      export PATH=${JDK}/bin:/usr/dt/bin:/usr/bin:/bin:/usr/openwin/bin
      export CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      export THREADS_FLAG native
      if [ ! -f JTextAreaTests.html ]; then
        cp ${JCK}/tests/api/javax_swing/interactive/JTextAreaTests.html .
      fi
      if [ ! -f JTextAreaTests.java ]; then
        cp ${JCK}/tests/api/javax_swing/interactive/JTextAreaTests.java .
      fi
      java -Xverify:remote javasoft.sqe.tests.api.javax.swing.interactive.JTextArea.JTextAreaTests -TestCaseID JTextAreaTest0011


      Once the test window comes up
      (1) Click on the "Wrap at word boundaries" check box.
      (2) Try to click in the JTextArea so that it has focus. Type "a".
          Nothing appears to happen.
      (3) If there is a Frame scrollbar at the bottom use it. Otherwise, try resizing
          the "JTextArea.setWarpStyleWord() Test" Frame. The "a" that was typed
          in will be rendered in the JTextArea. Some event did not make it back to
          JTextArea at the appropriate time.


      allan.jacobs@Eng 1998-11-18

            tprinzing Tim Prinzing (Inactive)
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: