This content has been marked as final. Show 2 replies
please don't cross post
please am new to java am working on the project.For opening form2 from form1 you can add a actionListener to the button.When the button is pressed instantiate the other class and render it visible which i leave it to you to implement.
please see sample below, can anyone tell me how i can
get the button in form1 to open form2
and also howUse getText ( ) method of JTextField to retrieve the text from it and then it's ordinary file io operations for which i guide you to the tutorials here
the information entered in the textfield can be
written to a text file. THANKS