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.

agr kisi Bhae ny 2nd Assignment bna li hy to plz idea share krain

Mjh sy nhe bn rhe



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


+ 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

Tariq Bhae
Plz kuch karain hum app k isi lye fan hain k hamari her problem ka solution mil jata tha mgr aja kal aap ki attention is tarf nhe hy
Plz do something
Any Solution!!

Yaar , not available in Handouts...

Plz share for information & Success
Any Solution!!

Yaar , not available in Handouts...

Plz share for information & Success
anybody know about clock and navigation arrows at the top of the given GUI

Plz share im facing problems to create these

Plz Tariq Sb.

Write a program in notepad as an editor for coding such that you are required to build up a Graphical User Interface code for making window similar to following:


And when ok button is pressed in above window then following dialog box should appear based on selected date and time





import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
import javax.swing.event.*;

public class GUI implements ActionListener
ArrayList personsList;
PersonDAO pDAO;

JFrame myFrame;

// labels
JLabel lNIC Card, lFather/Husband'sName, lAge, lAddress, lProvance;

// text fields
JTextField tfNIC Card, tfFather/Husband'sName, tfAge, tfAddress, tfProvance;

// buttons
JButton bSave, bExit;

String Father/Husband'sname, address, Provance;
int NIC Card, Age;

/*GUI Constructor*/
public GUI()
NIc Card = "";
FAther/HUsband's Name = "";
Age = "";
Address = "";
provance = "";

recordNumber = -1;


personsList = new ArrayList();

// creating PersonDAO object
pDAO = new PersonDAO();

/*initGui function will initialize our GUI*/
public void initGUI()

/*Create a frame, get its contentpane and set layout*/
myFrame = new JFrame("Voter Registration Form");

Container c = myFrame.getContentPane();
c.setLayout(new FlowLayout());

/*initializing labels*/
lNIC Card = new JLabel("NIC Card");
lFather/HUsband's Name = new JLabel("Father/HUsband's Name");
lAge = new JLabel("Age");
lAddress = new JLabel("Address");
lProvance = new JLabel("provance");

/*initializing text fields*/
tfNIC Card = new JTextField(20);
tfFather'Husband's Name = new JTextField(20);
tfAge = new JTextField(20);
tfAddress = new JTextField(20);
tfProvance = new JTextField(20);

/* intializing buttons */
bSave = new JButton("Save");
bExit = new JButton("Exit");

/*add all initialized components to the container*/
c.add(lNIC Card);
c.add(tfNIC Card);

c.add(lFather/Husband's Name);
c.add(tfFather/Husband's Name);





/*registering buttons with actionListner*/


} // end initGUI() method

// implementing ActionListener's method i.e. actionPerformed()
public void actionPerformed (ActionEvent event )

/*if button bSave generates the event */
if (event.getSource () == bSave)

// clear fields

/*if button bExit generates the event */
else if (event.getSource() == bExit)

}// end actionPerformed

// used to save person information into DB, using PersonDAO
public void savePerson()
/*get values from text fields*/
NIc Card = Integer.parseInt(tfNIC Card.getText());
Father/Husband's Name = tfFather/Husband's Name.getText();
Age = Integer.parseInt(tfAge.getText());
Address = tfAddress.getText();
Provance = tfProvance.getText();

if(NIC Card.equals(""))
JOptionPane.showMessageDialog(null, "Please enter NIC Card Number.");

/*create a new PersonInfo object and pass it to PersonDAO to save it*/
PersonInfo person = new PersonInfo(NIC Card , father/Husband's Name, Age, address, Provance);

JOptionPane.showMessageDialog(null, "Record added");
}// end GUI

See the attached file please

this is an old assignment solution


its not the one that is mentioned above


thats about a calender


Plz do something

55 minutes left


Latest Activity

Profile IconMaria Gondal, Umair Awais Qureshi, munazza anees and 1 more joined Virtual University of Pakistan
8 minutes ago
Ateeqa posted discussions
12 minutes ago
imran replied to + ! ! Şĩɳℊℯℛ ⋆⭐️⋆'s discussion ENG101 Online Quiz - 4 Fall 2019 Discussion Date: 28-01-2020 in the group ENG101 English Comprehension
20 minutes ago
Profile Iconimran and Rida Batool joined + M.Tariq Malik's group
20 minutes ago
+ ! ! ! ! Mobi updated their profile
22 minutes ago
▓▒░Farrukh░▒▓ replied to ▓▒░Farrukh░▒▓'s discussion بیٹھے بیٹھے کیسے کیسے روگ لگائے،دل نے ہمارے
35 minutes ago
▓▒░Farrukh░▒▓ replied to ▓▒░Farrukh░▒▓'s discussion بیٹھے بیٹھے کیسے کیسے روگ لگائے،دل نے ہمارے
36 minutes ago
Waqas replied to Nisha Khan's discussion HRM626 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 28-01-2020 in the group HRM626 Recruitment and selection
1 hour ago
Waqas joined + M.Tariq Malik's group
1 hour ago
Habiba replied to Habiba's discussion CS411 Assignment 3 Due Date 23 Jan 2020 in the group CS411 Visual Programming
1 hour ago
DANI commented on + M.Tariq Malik's group ENG101 English Comprehension
1 hour ago
+ ! ! Şĩɳℊℯℛ ⋆⭐️⋆ added a discussion to the group ENG101 English Comprehension
1 hour ago

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

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