JDK-4219162 : JEditorPane background flash, scrambles data
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_7
  • CPU: generic
  • Submitted: 1999-03-10
  • Updated: 2006-01-23
  • Resolved: 2006-01-23
Related Reports
Relates :  
Description
After adding lots and lots of one-line text strings to a JeditorPane
by doing getDocument, appending to the document, and doing setDocument,
when the amount of data in the Pane becomes moderately large (200kB?)
Then scrolling it causes the background to change from white to grey,
and selecting text (highlighting it) whie the JEditorPane has been
setEditable(false), causes the text to become scrambled.

Comments
EVALUATION Although I'm always getting OutOfMemory while adding a lot of strings into JEditorPane on my Windows2000 PC, I suppose (and based on previous evaluation) it's a duplicate of 5086593.
23-01-2006

EVALUATION This annoying behavior is caused by an overflow at the native level of the coordinates given to a Graphics object on windows 95 and X-Windows. The problem does not exist on NT. This is a duplicate of some other bug in AWT... passing this to AWT to mark as a duplicate. timothy.prinzing@eng 1999-09-20
20-09-1999