@gokuball, please read
http://www.javaprogrammingforums.com/cafe/6776-problems-cross-posting.html
Type: Posts; User: copeg
@gokuball, please read
http://www.javaprogrammingforums.com/cafe/6776-problems-cross-posting.html
I still don't see where the variable is instantiated.
Yes, but where is it instantiated? See
Creating Objects (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
A NullPointerException is thrown when something is null - or has not been instantiated (ether assigned or a new instance created). So there must be a variable on that line which was never assigned to...
Something is null on line 32 of the InfoPanel class...what variables are on that line? Is there a variable on that line that may not have been instantiated? (hint: is there an instance variable in...