But I get this error, please can someone tell me what this means? The method is already defined in the class and I have imported javax.swing etc Frame.java:181: setSquare(javax.swing.JLabel) in p1.Frame cannot be applied to ()
posted 8 years ago
It's a compile error. Do you pass the right argument to your method?