title: Get value from another window in java
body: <p>My question is related about java swing frame. I have a two jframe. jframe1 and jframe2. there is a one jbutton in the jframe1 and when user click the jbutton I want to show jframe 2. jframe2 have a textbox and jbutton user can enter value to textbox,when user click the jbutton , I want to set focus to 1st jframe and pass user entered value to jlable in the jrame1. Please help me to do this.</p>