Hi, Can I catch double clicking a cell in a table. I am using default table model. I want to get the value in the cell on double clicking it. If possible, please tell me how it can be done? Thanks Elizabeth
posted 15 years ago
Elizabeth When adding a mouselistener to your table (have you done this??) you could test for a double click in the mouseClicked method by testing the event for click counts -- if (evt.getClickCount() == 2) -- where evt is the MouseEvent object. From here you could use table methods to extract the objects/information etc. from the table... cheers!