Search:

Type: Posts; User: Json

Search: Search took 0.10 seconds.

  1. Re: simple problem w/ appelets which i cant figure out

    addMouseListener(this) will register this as in your current class as a mouse listener and all events for the mouse will be sent to the methods that you had to implement. In these methods you can...
  2. Re: simple problem w/ appelets which i cant figure out

    import java.awt.event.MouseListener;

    That should be enough.

    // Json
  3. Re: simple problem w/ appelets which i cant figure out

    How about you try and implement the MouseListener interface, then your line should be alright there.



    public class MovingSquare extends Applet implements MouseListener



    // Json
Results 1 to 3 of 3