Results 1 to 2 of 2
Thread: GUI to ArrayList to File
- 02-07-2013, 05:10 AM #1
Member
- Join Date
- Feb 2013
- Location
- Novi, MI
- Posts
- 1
- Rep Power
- 0
GUI to ArrayList to File
Hi, I have rudimentary Java knowledge and experience but I am currently working on a program that requires the following:
I have created a Student object with 4 parameters: String firstName, String lastName, String pin, String description
I want to create a GUI which will prompt the user for each of those and will subsequently create a Student object. After several students input data, all of this should be placed in an ArrayList of Student objects. These should finally be written to a file.
I was just wondering whether this is practical, and if it is, how should I proceed forward (I will do the actual coding, I just need help with designing my program)
Thank you.
- 02-07-2013, 09:44 AM #2
Re: GUI to ArrayList to File
Sounds ok to me, but I'd consider saving each student after the data are entered. Imagine you've entered 20 students and a power cut or a BSOD occurs.
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
Similar Threads
-
Reading from txt file to arraylist
By artur in forum New To JavaReplies: 4Last Post: 02-10-2012, 04:51 AM -
Writing Arraylist to new file
By seanfmglobal in forum New To JavaReplies: 5Last Post: 09-18-2011, 04:29 PM -
ArrayList copy some of the element from one arraylist tnto another arraylist
By ralf in forum New To JavaReplies: 12Last Post: 07-07-2011, 08:49 PM -
Read txt file into arraylist
By nickerhardt in forum New To JavaReplies: 9Last Post: 08-04-2010, 04:34 PM -
Saving ArrayList to File
By nwboy74 in forum Advanced JavaReplies: 6Last Post: 12-08-2008, 10:19 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks