-
[RESOLVED] a error
Code:
remoteadmin.java:22: remoteadmin is not abstract and does not override abstract
method actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener
public class remoteadmin extends JFrame implements ActionListener {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Tryk på en vilkårlig tast for at fortsætte . . .
i have no idea how to fix this, i've been trying now for 1 hour and well... i can't find a way to fix it.
-
Re: a error
You're implementing the interface ActionListener without implementing it's abstract method "actionPerformed"
you need to implement that method
-
Re: a error
ooh, why did i forget:
Code:
public void actionPerformed(ActionEvent evt) {}
thank you ComputerJy
-
Re: [RESOLVED] a error
No problem, btw.. you're implementing this interface for a reason. If you're not using it, remove it
-
Re: [RESOLVED] a error
i'm using it, i was just adding this class to my main file... so i forgot adding the code for buttons in it...