A
asit
I recently came through the following code...
public void mouseReleased( MouseEvent e ) { // called after a button
is released
isButtonPressed = false;
setBackground( Color.black );
repaint();
e.consume();
}
Can anyone tell me what is the task of e.consume() ????
public void mouseReleased( MouseEvent e ) { // called after a button
is released
isButtonPressed = false;
setBackground( Color.black );
repaint();
e.consume();
}
Can anyone tell me what is the task of e.consume() ????