|
Don't have the means in which to test or modify your code with the computer I'm currently at, but I'll throw out a couple of ideas based on what I saw.
Your instance variables "browsearea" etc are declared at the bottom of your code. I'm not sure whether this makes a difference for sure, but it might be the case that you're trying to use a variable that hasn't been declared yet. However, after saying that your error doesn't seem to imply this. If this were a problem I'd expect a compilation error rather than a runtime error. So here's another thought.
You have declared "browsearea" but I don't see that you've actually instantiated it. Thus, causing a problem.
I now see that you've indeed instantiated your variable. So I guess you can safely disregard any of my thoughts. Sorry to have wasted your time. I'll take a look at it later if the question still isn't resolved.
Greetings.
|