Why do you have to override all methods of an interface?
For instance if I have
public class Foo extend JFrame implements ActionListener, KeyListener {
You really should grab a good book about object orientated programming and revisit the first chapters. An interface is a completely abstract definition of methods, so you cannot implement an interface partially.