Steve Luke wrote:Where is the NullPointerException occuring? It should tell you what line causes the exception. So which line is it? If you are not sure how to figure it out, post the entire exception output here and we will show you how to figure out the bad line...
p.s. For other folks, I would appreciate it if noone points it out to the OP yet. I think the OP needs to learn to read his exceptions.
I'm getting it on line 8 of (which I must admit is the first time I've used a StringBuffer in anger). I checked the API where StringBuffer has a constructor that accepts a
string. Does my receiving string called "text" also have to be an Array?
@Steve Luke - I've got my own class that extends JTabbedPane - which has a lot of the CurriculumSubject object instances in it.