We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 02
Semester: Fall 2010

CS506: Web Design & Development



Total Marks: 20

Due Date: 23/11/2010



Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:


§         The assignment is submitted after due date.

§         The submitted assignment does not open or file is corrupt.

§         All types of plagiarism are strictly prohibited.


Note: You have to upload .java file(s). Assignment in any other format (extension) will not be accepted. If you will submit code in .doc (Word document) you will get zero marks. Upload zip file if there are more
than one file.




The objective of this assignment is to provide hands on experience of


§         Developing GUI application

§         Event handling

§         File Handling

§         Exception handling




§         Code should be properly aligned and well commented.

§         Follow java naming conventions for writing class names, variables names, function
names etc






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:

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



GUI should look like this (You are not required to make GUI exactly like this, You can use any layout you like, just all the elements
that is text boxes, labels and buttons 
should  be there





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.





Your assignment must be uploaded/submitted on or before 23 November 2010.



+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 268


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Replies to This Discussion

Please Discuss Here about this assignment .Thanks
Bhai is ka solution bhe kaheen na kaheen se dhoond nikalain with great thanks
Can u give some hint , i am not understanding
mention the points u failed to understand
plz send me some idea that how i make this assignment? i m totally confused :-/ plzz if u can
does any one know how to use setPrefferedSize??? (we've used setSize but can't figure out how to use da other)


Today Top Members 

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service