KeyListener wont work for me… please help.

Written by kishore


starting from the ground up on a project for university, but i need to start with a keyListener, which i just cant get to work… heres the demo i have put together of a key listener… i get the following error : “addKeyListener(java.awt.event.KeyListener) in java.awt.Component cannot be applied to ()…” Code: import java.awt.event.*; import javax.swing.*; public class keyListenerDemo implements KeyListener {

Related posts:

  1. swings application to applet hi i want to convert these swings application to...
  2. Menu Bar? Here's my code: Code: package Checkers; import java.awt.*; import...
  3. GUI example won’t work I got this code from the Java Sun site....
  4. HELP (identifier) expected cmd is always giving me an error saying jui.java:719:...
  5. Window Background Image I've been trying for hours trying to get this...

Related posts brought to you by Yet Another Related Posts Plugin.

Apr
02

Leave a Reply