Can't get mousePressed event to work
Hi all!
I have class, that extends DefaultTableModel. I can not make that when end user click on specifc cell, to create new class.
Code looks like this:
publicclass ContactListextends DefaultTableModelimplements MouseListener{
...
publicvoid mousePressed(MouseEvent mouseEvent){
ContactUpdate conUpd =new ContactUpdate ();
}
....
}
Can you help me with this? Thank you in advance!

