Darryl Burke wrote:
Ranganathan Kaliyur Mannar wrote:
Jacky Luk wrote:yes, the dialog is modal.
In that case, the statement setRowSelectionInterval will be executed only after you close the dialog.
Which is the right time for it to be executed.
Jacky, this is going nowhere. To get better help sooner, post a SSCCE (Short, Self Contained, Correct (Compilable), Example) that demonstrates the problem. Keep it short and relevant.
I don't know how. But somehow I got it working. Thanks
But One more question for you, is that how do you simulate a mouse click event?
Say my mouse listener is added thru addMouseListener method, I want when the dialog returns, it simulates a click on the mouse so that the
corresponding record is selected for my form. I can't call it by method name since it is not on the same "level" as the JFrame window
Any ideas?
Thanks