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

AJP Assignments

This document contains instructions for 3 assignments related to Java GUI programming. Assignment 1 focuses on AWT components like containers, windows, frames and layout managers. It asks the student to draw diagrams and write notes on common AWT components. Assignment 2 covers Swing features, differences between AWT and Swing, MVC architecture, and Swing components like labels, buttons and scrollbars. It asks the student to write programs demonstrating JProgressBar, JTree and menus. Assignment 3 is about event handling in Java - it asks the student to write notes on event classes like ActionEvent and MouseEvent, and write programs handling mouse and key events.

Uploaded by

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

AJP Assignments

This document contains instructions for 3 assignments related to Java GUI programming. Assignment 1 focuses on AWT components like containers, windows, frames and layout managers. It asks the student to draw diagrams and write notes on common AWT components. Assignment 2 covers Swing features, differences between AWT and Swing, MVC architecture, and Swing components like labels, buttons and scrollbars. It asks the student to write programs demonstrating JProgressBar, JTree and menus. Assignment 3 is about event handling in Java - it asks the student to write notes on event classes like ActionEvent and MouseEvent, and write programs handling mouse and key events.

Uploaded by

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

Assignment No.

01
AWT
1.Explain in brief Component,Container,Window and Frame.
2.Draw the diagram of Hierarchy of AWT Components.
3.Write note on Button,
TextField,TextArea,CheckBox,CheckBoxGroup,Label,List,choice,
4.What is role of layout manager in AWT .
5.Enlist Constructor and methods related to create Menu.
6.Write a program for CardLayout,BoarderLayout and GridLayout.
7. What are the features of AWT.

Assignment No.02
Swings
1.What are the features of swing.
2.Difference between AWT and Swing.
3.Explain MVC Architecture.
4.Exlain JComponent class with its methods.
5.Write notes on label,
JButton,JtextField,JCheckBox,JRadioButton,JMenu,JMenuItem,JScrollb
ar,JProgressBar,JTabbedPane.
6.Write a Program to demonstrate the use of JProgressBar.
7.Write a Program to demonstrate the use of JTree.
8.Write a Program to demonstrate the use of Menu and MenuBar.
9.What is use of class ButtonGroup?
Assignment No.3
Event Handling

1. Write note on Event handling.


2. Enlist the constructor and method of Action Event class.
3. Enlist the constructor and method of KeyEvent class.
4. Enlist the constructor and method of FocusEvent.
5. Enlist the constructor and method of MouseEvent class.
6. Enlist the constructor and method of ContainerEvent class.
7. What is an Adapter class?
8. Enlist the constructor and method of ComponentListener Interface.
9. Write a Program to change the background color of Applet when user
performs events using mouse.

10.Write a Program to generate KeyEvent when a key is pressed and display


“Key Pressed” massage.

You might also like