Search:

Type: Posts; User: puuts

Search: Search took 0.49 seconds.

  1. Replies
    10
    Views
    462

    Re: Button to save data in text fields to a File

    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,...
  2. Replies
    10
    Views
    462

    Re: Button to save data in text fields to a File

    Here's what I've got.





    btnSaveA.addActionListener(new ActionListener() {

    public void actionPerformed(ActionEvent e) throws IOException{ //should it be here?
  3. Replies
    10
    Views
    462

    Re: Button to save data in text fields to a File

    Could you please cite me an example/logic on how to do it inside a button?
  4. Replies
    10
    Views
    462

    Re: Button to save data in text fields to a File

    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;
  5. Replies
    10
    Views
    462

    Re: Button to save data in text fields to a File

    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 :(
  6. Replies
    10
    Views
    462

    Button to save data in text fields to a File

    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...
Results 1 to 6 of 6