i need help regarding the save menu item i have in my menu bar. i have set the code to
private void smActionPerformed(java.awt.event.ActionEvent evt) {
}
but i am unsure what needs to go inbetween the brackets? The gui is a form where poeple fill in there medical record e.g combo box "mr/mrs" textfield "medical problems" etc and when they click file save i would like the user to get a save box (like save as box in word) and the information to be saved in a txt file.
P.S. would it be possible to have the "file type" set to save as a txt file as default.