I said properly indenting your code would "reveal the error," not fix it.
The indented code you posted is not properly indented, and indenting code has neither affect on its performance nor...
Type: Posts; User: GregBrannon
I said properly indenting your code would "reveal the error," not fix it.
The indented code you posted is not properly indented, and indenting code has neither affect on its performance nor...
An attitude? Maybe a "best practice," but if it were an attitude, you might have trouble making friends.
Please pose your code in code tags.
Properly indenting your code would reveal the problem:
public void actionPerformed(ActionEvent e)
{
String name = e.getActionCommand();
if...