posted 19 years ago
Hi,
I get an NullPointerException when I try and call a append() or setText() method for a JTextArea but not a JTextField when everything else remains the same. Here is the revelant code.
Then from another class file.
As I said setting the JTextField works fine, but I get an NPE pointing at both references to the JTextArea, please someone tell me what I've done wrong. I'm using JCreator and XP.
Thanks,
Scott
[ June 11, 2005: Message edited by: scott beveridge ]
[ June 11, 2005: Message edited by: scott beveridge ]