
hi i m doing my project using java desktop application in netbeans.i designed a form to get the user's academic details and on clicking the submit button,it displays all the inputs given by the user.i had a java program for it and accessed it by creating an object for it.my java code is
public class submit {
JFrame frame;
JTextArea text1;
void form()
{
frame=new JFrame("details you have entered are");
JPanel cp=new JPanel();
text1=new JTextArea();
cp.add(text1);
frame.add(cp);
frame.setSize(450,320);
frame.setVisible(true);
}
}
now my next step is i have to take these details and make a file that can be appended each time.how to achieve this in jframe ? can you please post me the code for it ?
Thank you, waiting for reply..!!