Hi friends, I am developing a desktop application in Java.In that application I have a Jframe which contains 2 JTextFields and 2 JButtons. When a JButton is clicked a new page has to be displayed and the values from the 2 textboxes should be displayed in that new page using JLabel. Can anyone of you tell me how to do this? I actually know the logic how to do it. My problem is how to do with Swing Components. Any sample code will be helpful. Thanks in advance, Kutty
posted 14 years ago
If you know the logic, you know how to do it. Swing AWT done the same way. Pass the values and use setText().