
I want to write a Java program for....
To create a frame with 4 text fields;name,street,city and pin;with suitable labels.
Also add a button "OK". After enter values and
when OK is clicked, corresponding values to be appeared. let it appear below the OK Button or somewhere else.

hi friend,
Please go through the following link, may this will be helpful for you
http://www.roseindia.net/java/example/java/swing/setter-getter-method.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
