Registring mouse/Key event--HHHHelp

Hello, I have to make an applicationto register all the mouse/keyboard event performed by the mouse, then when I relance my application it should repeated all the mouse/key/and mouse click event the it has been performed before.

I really need a an examples for that.

or a link anything in that direction.

thanks

[336 byte] By [seybaaa] at [2007-10-1 1:50:07]
# 1

public class MyClass implements MouseListener, KeyListener....{

public MyClass(){

addMouseListener(this);

addKeyListener(this);

...

}

public void mouseClicked(MouseEvent e){

// enter code here

}

public void mouseEntered(MouseEvent e){

// enter code here}

public void mouseExited(MouseEvent e){

// enter code here}

public void mousePressed(MouseEvent e){

// enter code here}

public void mouseReleased(MouseEvent e){

// enter code here}

}

Teasa at 2007-7-8 8:11:52 > top of Java-index,Archived Forums,Java 2 Software Development Kit (J2SE SDK)...