abhi287 0 Light Poster

Hi

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..

plz reply..
thanks..

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.