0% found this document useful (0 votes)
9 views2 pages

Java Theory Assignment 3

Uploaded by

yashuop46
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Java Theory Assignment 3

Uploaded by

yashuop46
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

GLS UNIVERSITY

BCA (SEM-V)
SUBJECT: 0301502 Advance Java
ASSIGNMENT – 3 (Unit -3 Event Handling, Swing & GUI
Component)

A. Fill in the blanks


1. listener has to register with ______.
2. superclass of all events is ______.
3. The ________ event occurs when the componet-specific action take place.
4. The _______ event occurs when the component is moved, resized or visibility is changed.
5. The _______ events generated when a Check box or list iteam choice is selcted or deselected
6. The ______ events generated by the change of object’s text.
7. AWT stand for _______.
8. The top – level class of swing is ______.
9. To attach the components to a container _____ method is used.
10 JButton class is child of _______ class.

B. State True or False


1. Event in Java are handled by Delegation Event Model. [T / F]
2. In the Delegation Event Model, there is a source, which generates events. [T / F]
3. In the Delegation Event Model, The listener then initiates an action. [T / F]
4. An events is an object that describe the changes of state of a source. [T / F]
5. The key events generated by key strokes. [T / F]
6. The Mouse events generated by mouse licks and movements. [T / F]
7. The Window events generated by the change of window status. [T / F]
8. JFC stand for Java Foundation Classes. [T / F]
9. The Swing classes are subclasses of java.awt.Container & java.awt.Component. [T / F]
10.. Jframe is Container. [T / F]

C. Explain in Detail
1. Explain the Delegation Event Model with Diagram.
2. List the types of Event with its work.
3. Explain Swing GUI component with its hierarchy and diagram.
4. Explain Jframe class with its method and sample code.
5. Write a short note on Window Event class
6. Write a short ntoe on Mouse Event class.
7. Explain all the method of Jbutton class with sample code.
8. Write a short ntoe on Action Event class.
9. Write shore not on Jlabel class.
10. Write a short ntoe on Adjustment Event class.
11. Write a short ntoe on Component Event class.
12. Write a short ntoe on Item Event class.
13. Write a short ntoe on Key Event class.
14 Write a short ntoe on Text Event class.

Question set A and B are Compulsory for each student.


Question Set C need to attempt as follow:

Sr. No Group No. Questions


A01 To A10
1. B01 TO B10 1,7,12,5,13
C01 TO C10
A11 TO A20
2. B11 TO B20 2,8,11,6,14
C11 TO C20
A21 TO A30
3. B21 TO B30 3,9,10,7,5
C21 TO C30
A31 TO A40
4. B31 TO B40 4,10,9,8,6
C31 TO C40
A41 TO A50
5. B41 TO B50 5,11,8,9,13
C41 TO C50
A51 TO A60
6. B51 TO B60 2,8,10,13,5
C51 TO C60
A61 Onwards
7. B61 Onwards 6,12,7,10,14
C61 Onwards
A71 To A10
8. B71 TO B10 1,7,12,5,13
C71 TO C10
A81 TO A20
9. B81 TO B20 2,8,11,6,14
C81 TO C20
A91 TO A30
10. B91 TO B30 3,9,10,7,5
C91 TO C30

You might also like