1. I can't tell what the heck you are trying to do with that little bit of code fragment. 2. You need to give us the exact error message you are getting 3. Is it at compile time or runtime 4. If possible, what exact line is the error being thrown on 5. Are sure it works in the other girls problem? Maybe she changed it because she knows you are using her work.
Judy, the only way people will learn is to keep discussions like this public. So I am going to post the code you sent me in an Email and we will try and solve your problem here, ok?
Now, the only thing I see right off the bat is the fact that nowwhere else in your code do you have any reference to pickSelection. Where did this variable come from? Where was it created and given a value? Also, I can't compile your code because you have a Utility object which is not part of the standard JDK, so without access to that object...Well, you get the idea. Anyway, tell me where that pickSelection variable came from. Nevermind, I found that variable. I am going blind.. Let me take a look at this for a minute. [ September 29, 2003: Message edited by: Gregg Bolinger ]
Joined: Sep 05, 2003
no problem gregg.... wasn't sure how to do it.. i can send you that utility file so you can run it.. thank you for helping me..
Looks like it is a scope issue. I moved your byte pickSelection; out of your main method and made it global to the class. I also had to make it static since main() is static. So the beginning of your program now looks like: