KeyListener wont work for me… please help.
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:
- swings application to applet hi i want to convert these swings application to...
- Menu Bar? Here's my code: Code: package Checkers; import java.awt.*; import...
- GUI example won’t work I got this code from the Java Sun site....
- HELP (identifier) expected cmd is always giving me an error saying jui.java:719:...
- 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
02