How do I open a new window when double clicking on a JTable row?

Recommended Answers

All 2 Replies

Check MouseListener interface. Counting the number of clicks is one way to go about it.

Hope this helps.

agreed that's possible, but I think that its ugly, look for JPopupMenu (right MouseClick on selected row)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.