Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Problem Statement:
required to develop a simple GUI (Graphical user interface) application for the registration of voters.
code should take data form user and save it into a text file.
make voter class and a GUI.
The Voter Class must have following attributes:

>> National ID Card Number (This should be primary key)
>> Name
>> Father/Husband’s name
>> Age
>> Address
>> Province

In the above GUI application, when the user clicks "Save" button then it will take the data from the form and store into text file name "voter.txt". The application must quit by clicking "Exit" button.

image is uploaded herehttp://2.bp.blogspot.com/__M5L-C3oo0s/TNp-zvq7EpI/AAAAAAAAAH8/u-u79x0-8GQ/s1600/cs614%2Bsecond.JPG[^]
Posted
Updated 21-Nov-10 1:01am
v6
Comments
Richard MacCutchan 20-Nov-10 16:06pm    
I think the words "you" and "your" apply to the fact that you are expected to do the work, not post the question on an internet forum so someone else can do it for you.
shakil0304003 21-Nov-10 1:23am    
What you tried?
R. Giskard Reventlov 21-Nov-10 3:24am    
Homework.
Keith Barrow 21-Nov-10 7:01am    
My Vote of 1: See other comments.
Richard MacCutchan 21-Nov-10 7:37am    
Removing the words that I bolded in the above does not change the basic fact that this problem is for you to solve; nobody here is going to do your work for you.

1 solution

SQL
ok
but will you please give me some hints to solve this problem by my self :)
 
Share this answer
 
Comments
Richard MacCutchan 21-Nov-10 12:14pm    
Follow this link: http://java.sun.com/developer/onlineTraining/index.jsp and use the tutorials and documentation; they contain everything you need.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900