I was hoping someone could help me. I have been trying to solve this problem where my large source files opened in NEtBeans ends up garbled unreadable text. At first I thought it was netbeans but then it turns out being a Java issue. I have followed these instructions (Screenshot on this page)
http://wiki.netbeans.org/FaqSolvingEditorGarbledText
I am not sure I am entering the correct Device when I run the command lspci in terminal.
lspci gets me this
06:00.0 VGA compatible controller: ATI Technologies Inc Barts XT [ATI Radeon HD 6800 Series]
Which then I update my xorg.conf file with the following text.
Section "Device"
Identifier "ATI Technologies Inc Barts XT [ATI Radeon HD 6800 Series]"
Option "AccelMethod" "xaa"
Option "RenderAccel" "true"
EndSection
But I still have garbled text when the source files become large. When I say large I am talking about 2000+ lines.
Here is a screenshot

This problem worked it self out. Could have been a bug in netbeans, and a older version of fedora. I am not using 7.0.1 netbeans, and fedora 17.