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

Repeated typing in JEditorPane doesn't type in-flow, types in chunks.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • None

      When 'SHIFT+a' (capital letter A) is typed continuously in the JEditorPane,
      after some repeats letters are not typed in-flow, rather typed in chunks.

      When letters are continuously typed, should display typed letters continuously
      one after the other.

      To reproduce the problem :

      1. cd to /net/sqesvr.eng/export/jfc/jfc_ws/Functional/SwingTextSupport
      2. set JAVA_HOME to /net/sqesvr.eng/export/jfc/jdk1.4/solsparc
         setenv JAVA_HOME /net/sqesvr.eng/export/jfc/jdk1.4/solsparc
      3. Execute following command :
        ${JAVA_HOME}/bin/java -Xint -cp lib/awtsqe.jar:classes/ JEditorPaneUndoTest

      You will see the flow of typing gets chunky after typing for sometime. As well
      as, this testcase fails to perform 'undo' & 'redo' operation correctly after
      typing 1000 A's.

      This is happening on Solaris sparc6 & 7 with -Xint mode. With default -Xmixed
      mode, it is working fine.

      This is also reproducible with the code attached to BugId: 4429261, but only
      on SolarisSparc6 with -Xint mode.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: