Do I get bonus points for this code?

EyeMWing

Banned
Jun 13, 2003
15,670
1
0
secondhalf.addActionListener(
new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
try
{
if (true)
{
if(!secondhalf.getText().equals("null"));
{
ini.set("main","secondhalf",floppydrive+secondhalf.getText());
ini.save(tempsettings);
secondhalf.setText("OK! " + secondhalf.getText());
}
}
else throw new IOException();
}
catch (IOException err)
{
System.out.println("A quantum anomaly caused true to be false. The end of the world is coming. Quitting.");
System.exit(0);
}
}
}
);

I do this for a list of about 500 actionlisteners in a row.
 

EyeMWing

Banned
Jun 13, 2003
15,670
1
0
Originally posted by: MDE
Java is the devil...

It's what the maintainers will know, since that's what's taught in the school's CS program, so that's what I have to use.