MouseListener problem
843807Mar 11 2005 — edited Mar 14 2005Hello,
I have the following code:
public void mouseReleased(MouseEvent e){
PersonalDialog tmpPersonalDialog = new PersonalDialog(myFrame);
tmpPresonalDialog.setVisible(true);
}
If I click over the button too fast, the dialog will be shown (and instantiated) twice (one appears behind the other).
How can I avoid this problem?
I�ve tried to remove the listener, hide the buttons...
I have detected this problem because the application is running on a slow machine.
Thanks in advance.