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 2016
Web Design and Development -CS506
Total Marks: 20

Due Date: December 02, 2016
Please read the following instructions carefully before submitting assignment:
 You should submit your assignment before or on due date on VULMS.
 Your assignment should be your own work. It should not be copied from internet, handouts or books.
 You are suggested to use Netbeans IDE for developing your assignment.
 You should import java swing and java awt packages in your classes.
 You should create project with your Roll No. in Netbean IDE and create required classes in it.
 You should zip your complete project (along with .java,.class and .jar files etc.) and upload on VULMS as a single file.
 Your zipped file should be in .zip or .rar file format only. Any compressed format other than .zip or .rar of your programs will be considered the incorrect files and rewarded by zero.
 Assignment sent via Email will not be replied and accepted in any case.
 If the submitted assignment does not open or file is corrupt, it will not be marked and awarded Zero marks.
• To build knowledge about how event handling works in Java
• To develop basic GUI application
• To know how to use different GUI components of AWT and Swing packages
For any query about the assignment, contact at CS506@vu.edu.pk

Question: Marks 20

You are required to develop a small java program named as “Printer” by creating following Graphical User Interface (GUI) with functionality.


Functionalities Required

• Print Quality drop down list should contain two values as; High and Low
• Upon Pressing OK button, new dialog box should be opened with the following text;
• “Thanks for using this application” and program must exit successfully.
• Upon Pressing Cancel button, new dialog box should be opened with the following text;
• “You Pressed Cancel Button”.
• Upon pressing Help button, new dialog box should be opened containing following text;
“For more help, please contact CS506@vu.edu.pk”


+ 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: 6154


+ 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

Thanku so much...... i will text u on ur cell but u can't reply about an hour ago...... thanks alot

sir plz mje b send ke de



CS506 Assignment#02 Solution 


Sir GM Mughal me b kr den assignment
need help
Sana Mehraj

chk it


My id is Mc120401479

Rizwan Saleem

chk dear


GM Mughal Please help me too.

My ID is BC130402112

Muhammad Jawad

g brother



Thanks sir

Create a new project in netbeans

add a package like VU

Create two file. main.java , printer.java

Add this code in main.java 

package VU;

public class Main {

public static void main(String[] args) {



Now come to Printer.java

place buttons on it etc.... hope so u understand


Today Top Members 

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

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