Hi,
pass your first frame refrence to ur second frame and create a get/set
methods in ur first frame,call these on action listener of second frame
OR
int count = container.getComponentCount();//frame1 component count
for (int q = 0; q < count; q++) {
if (container.getComponent(q)instanceof JTextField) {
String text= ((JTextField) container.getComponent(q)).getText;
////
set this text to frame 2 text field
}
}
Bbye