Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Re: Trouble with buttonhandler - Exception in thread "AWT-EventQueue-0"

    That's what I was trying to get him to find for himself by stepping through it with a debugger or adding print statements. Ah well.
  2. Re: Trouble with buttonhandler - Exception in thread "AWT-EventQueue-0"

    Ah, so it's a NullPointerException. Now your job is to figure out what's null in that line. It could either be jPanel1 or b[0], right? So what is the value of each? Are you sure? Step through it with...
  3. Re: Trouble with buttonhandler - Exception in thread "AWT-EventQueue-0"

    You still haven't posted the actual error- what is the actual Exception? You also haven't used highlight tags, which makes your code pretty hard to read.

    Hint: What is the value of each element of...
  4. Re: Trouble with buttonhandler - Exception in thread "AWT-EventQueue-0"

    What line is the error on? What is happening on that line? Something must be null there- where do you initialize each of the variables you're dereferencing?
Results 1 to 4 of 4