|
-
Jan 10th, 2009, 09:36 AM
#1
Thread Starter
Fanatic Member
[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.
Last edited by Justa Lol; Jan 10th, 2009 at 10:02 AM.
-
Jan 10th, 2009, 10:38 AM
#2
Re: a error
You're implementing the interface ActionListener without implementing it's abstract method "actionPerformed"
you need to implement that method
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 10th, 2009, 11:53 AM
#3
Thread Starter
Fanatic Member
Re: a error
ooh, why did i forget:
Code:
public void actionPerformed(ActionEvent evt) {}
thank you ComputerJy
-
Jan 11th, 2009, 06:47 AM
#4
Re: [RESOLVED] a error
No problem, btw.. you're implementing this interface for a reason. If you're not using it, remove it
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 11th, 2009, 07:08 AM
#5
Thread Starter
Fanatic Member
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|