View Single Post
  #1 (permalink)  
Old 03-27-2008, 04:10 PM
abhiN abhiN is offline
Member
 
Join Date: Jan 2008
Posts: 23
abhiN is on a distinguished road
Passing data from one JFrame to another
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..
Reply With Quote
Sponsored Links