I'm having trouble figuring this out. I would normally just do something like
JButton blah = new JButton("blah");
String str = e.getActionCommand();
if(str.equals("blah") {
//do something
}
Type: Posts; User: captain
I'm having trouble figuring this out. I would normally just do something like
JButton blah = new JButton("blah");
String str = e.getActionCommand();
if(str.equals("blah") {
//do something
}