Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick


I've been fighting over a bug in my NBGS for like... an hour? I kept going back and forth between thinking blackdown's JDK was buggy or I was incredibly stupid. I couldn't get a frickin' button to work. I added the ActionListener, it built, ran, but just didn't work. My TextListener and WindowListener worked fine.... why wasn't a button working? I got Scott to look at it for me.... we wasted more time. Finally we found it:

add(new Button("Connect"));

Yeah, I was adding an anonymous button instance, not the one I'd created at top and added the actionlistener to. I usually mock up the interface with anonymous crap to begin with, but I'd forgot to change this one.

Hehehe. Yeah, I lose.

At least this isn't homework or real work... and at least it's the weekend. It's easy to laugh at myself for being stupid when I have nothing better to be doing. :-)

  • Doing Hos is Hard Work

    Etch-a-Sketch doesn't involve much hill climbing. GPS-a-Sketch in San Francisco does, however: Merry Christmas from me and…

  • Adventurous Weekend

    Before I fall asleep, I'll try to recap the awesomeness that was this weekend. Friday: -- kinda short day at work, due to floor…

  • Bike Route

    A fellow biker last Friday recorded our ride to work: our ride.

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.