[ILUG] OT: Java code, need the right direction
frankly3d at gmail.com
Wed Apr 6 08:51:09 IST 2011
Hoping for some OT help again.
Have a Student.java class with
JOptionPane.showInputDialog (8 Questions (7 String, 1 Double answers)).
I can create an Arraylist from the fields in a MyData.java.
to save the data, and also print to file.txt
to choose buttons (Login. Register, Cancel)
But having cheked JTextfiled\JTexarea,
am still uncertain of it's use in this scenario.
If "Register JButton" is clicked how can
can I get all the Q.s and spaces for answers to appear in a single
Window as one is a double?
I'm asking because we aren't told,
but have to root out.
My tusks are worn at this stage.
Have searched Google, maybe incorrect terms?
"java JTextField example"
"java JTextArea example"
Have also downloaded oracle tuts.
Friend of Fedora
More information about the ILUG