You don't need an init () method in a Java application. It's only required in an applet (you must override it when you extend JApplet). Just add the key listener in the constructor of your JFrame or ...
Hiya: I'm trying to a ScrollingImagePanel in java and have the mouseListeners actually do something. Currently it looks like this:<BR><BR>public ImageViewPane(JTabbedPane jtp,BufferedImage im){<BR> ...