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. :-)

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.

  • Why, hello...

    Long time no see. How's my baby doing?

  • 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.