This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a JTable with data. I want to generate a single/double click mouse event programatically using java (MouseEvent me = new MouseEvent(source,id,when,x,y,clickcount,popiptrigger) rather than manually clicking on JTable for selecting a specific row...
Is it possible?
In the following program i used setRowSelectionInterval(0,0) for selecting a row programatically. I also have a mouse listener for JTable. But i dont want to use both of these.