Search:

Type: Posts; User: BlueSuicidal

Search: Search took 0.18 seconds.

  1. Replies
    3
    Views
    1,777

    Re: keylistner + applet isnt working

    Sorry Brandon95 KeyDown is depricated. You should make a KeyListener.

    How to Write a Key Listener (The Java™ Tutorials > Creating a GUI With JFC/Swing > Writing Event Listeners)


    import...
  2. Replies
    3
    Views
    1,777

    Re: keylistner + applet isnt working

    Hi,

    I think you should implement the Keydown method of the applet's component class.

    I googled:
    Small Game With KeyListener - Java | Dream.In.Code


    public boolean keyDown (Event e, int...
Results 1 to 2 of 2