How to open new window

I have developed a JTable. What I need to do next is to have listeners for each of the cells in the table such that when the cell is double clicked, a new window should pop up.

What listener needs to be implemented for this? Will the TableModelListener work?

Any sample code, anyone?

[303 byte] By [newBirda] at [2007-11-27 2:43:18]
# 1
Add a MouseListener to the JTable. Look through some of the methods in the JTable class to see how you can find which cell was clicked. http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JTable.html
CaptainMorgan08a at 2007-7-12 3:08:46 > top of Java-index,Java Essentials,New To Java...