actually, it's not yet finish, once the textfields has been filled up and radiobutton has been picked, btnSaveA will get that texts and then write it a file. Actually, I've still in getting the text,...
Type: Posts; User: puuts
actually, it's not yet finish, once the textfields has been filled up and radiobutton has been picked, btnSaveA will get that texts and then write it a file. Actually, I've still in getting the text,...
Here's what I've got.
btnSaveA.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) throws IOException{ //should it be here?
Could you please cite me an example/logic on how to do it inside a button?
Hi Kevin, i can write a file using console, but i don't know how to convert it to a button when clicked.
Here's what i got.
package com.ittc;
import java.io.BufferedReader;
Hi Kevin, I just want when the user click the 'Save' button, all data in textfields will write to a file, the problem is i don't know when I'll start :(
Hello All, Good day! I'm new in Java and Hopefully you can help me with my first post :)
I have a form with text fields (txt_field1, txt_field2, txt_field3) radiobutton (rad_btn1, rad_btn2) and...