hello , i am using diff. JPanels in my projects and they are showing in a main JTabpane form window, is there any to achieve in java to refresh values of Jpanel 1 on changes in JPanel 2.

say i have a JTabpane with two panels p1,p2
and i am loading new panel Jpanel1,Jpanel2 in p1,p2 and i want to change the value of text box of Jpanel2 when some changes occur in Jpanel1.

any idea ?????




Thanks and regards
Alok sharma