mouseClicked() has a parameter which you didn't pass in your if statement.

Also, mouseClicked is void anyway and so cannot return anything so it isn't equal to anything.

oh, I see, that's an...