Passing data from one JFrame to another
I am developing an application in which i want to pass the data from one JFrame to another..
Actually what i want is like--
On my first frame i m displaying a blank JTable(Table1)..
Now when i click on the first row from the table1 it'll generate new frame containing a JTable(table2) with the values from the database..
Now i want to pass the values from the table2 to table1 dynamically.. means when i double click on any row from table2, all data from that row will be added to 1st row in table1..
weather it is possible to pass the data in such a manner or is there any another way to pass data from one frame to another..