This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 92254

Summary: Error highlights redraw glitch on JDK 1.6
Product: editor Reporter: ats37 <ats37>
Component: -- Other --Assignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Flash animation of the editor exhibiting the glitch

Description ats37 2007-01-10 19:02:46 UTC
I recently upgraded JDK from 1.5.0_10 to 1.6.0 (that's Sun's JDK in each case,
on Windows XP), and since then have noticed an odd graphical glitch with the
"red wavy lines" error highlighting in the Netbeans editor.  As I move the
cursor down the page, the red lines above the pale yellow hightlighted line are
not redrawn properly, thus becoming red dotted lines instead of wavy ones.  If I
switch to a different tab then back again, they are redrawn correctly.  When I
then cursor back up the page, the line above the current one shows the same
glitch in the red lines, but the one below it is redrawn correctly each time as
I step up the page.

I tried upgrading from Netbeans 5.0 to 5.5 in case it was already fixed in the
newer version, but that behaves the same.  If I switch back to using JDK 1.5
using "netbeans --jdkhome ..." with either version then I don't see this
behaviour, the wavy lines stay the same wherever I move the cursor.

Hope that description is clear enough.  I'll attach a flash animation so you can
see exactly what I mean.
Comment 1 ats37 2007-01-10 19:07:45 UTC
Created attachment 37244 [details]
Flash animation of the editor exhibiting the glitch
Comment 2 Vitezslav Stejskal 2007-01-10 23:07:50 UTC
Thanks for the nice animation.

*** This issue has been marked as a duplicate of 56464 ***