?

Log in

No account? Create an account

Previous Entry | Next Entry

Ugh.

As I was doing my reading for the unit six of my Oxford course, I started getting a sinking feeling. They were showing how GUI programming in Java worked, and as I thought ahead, the only way I could think of for them to handle an event was one I didn't want to contemplate...

And then it happened. My worst nightmare came true.

class StopButtonListener implements ActionListener {
    public void actionPerformed (ActionEvent e) {
        System.exit(0);
    }
}

My. Brain. Hurts.

Comments

sangochan
Dec. 4th, 2005 03:38 pm (UTC)
Don't you just LOVE Java?