11-10-2010, 09:25 PM
Problem Statement:
You are required to develop a simple GUI (Graphical user interface) application for the registration of voters.
Your code should take data form user and save it into a text file.
You will make voter class and a GUI.
The Voter Class must have following attributes:
[FONT="]
[/FONT] 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.
Solution will be updated soon.
You are required to develop a simple GUI (Graphical user interface) application for the registration of voters.
Your code should take data form user and save it into a text file.
You will 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
[FONT="]
[/FONT] 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.
Solution will be updated soon.