setLineWrap(true); crashes my App
Posted on 2009-02-09
I have two JTextArea's in my app. I set them to .setLineWrap(true); When ever i do this, the app would randomly crash, i.e not continue the rest of the code after the setLineWrap() method (i know this because i put print statements after the setLineWrap and this print statement doesn't get printed). soemtimes the app will work (it is completely random). When ever i remove the setLineWrap(true); the app will always work.
HEEEEEEEEEELP!!! this is really stupid, why is this this crashing my app?