Tutorial No:01

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Tutorial No:01

1.Explain the role of class java.awt.component and class java.awt.container class hierarchy?

2.Explain 3 methods of class java.awt.frame with example to demonstrate use of 3 methods?

3.Create a simple login form using frame and awt components?

4.Explain the use of get value in java.awt.scrollbar class with example?

5.List and explain methods of textfield class?

6.How to create and use panel with example?

Tutorial No:02
1.Differentiate between Awt and Swing component?

2.Difference between Frame and Jframe?

3.List all methods of Jframe?

4.What is difference between Textfield and JTextField?

5.Write short note on combo box with example?

6.List and explain constructor of Radio button?

7.Explain the steps to create JTabbed Pane using swing also write example to demonstrate?

8.Write program to demonstrate JTree component in swing?

9.Explain constructor of JProgress bar with example?

10.Write and show the use setToolKit() method?

11.Write Constructor of JTable component in swing with example?

12.Write constructor of JSlider with its supported metods?

13.Write short note on MVC architecture?


Tutorial No:03
1.When Action Event is generated?

2.List methods of MouseListener?

3.Define source in Delegation model?

4.List and explain methods of focus listener and container listener?

5.Write a program on ActionListener to add values of two textfields into third textfield?

6.Write program to demonstrate key press event on textfield?

7.Write a program to demonstrate setechochar() method in textfield?

8.What is role of adapter class?

9.Wite a program that demonstrate the use of adapter class ,mouse adapter and mouse motion
adapter and define only one method for each?

10.List and explain methods of window listener interface?

11.Write a program to create a button to switch between “see-password” and “hide-password”on


a textfield with the use of setEchochar() method?

12.Write an applet to demonstrate application of mouse motion listener?

13.Prepare a login form with event to check whether user ID and password matched or not show
the message in another label?

Tutorial No:04
1.Write short note on IP address with its classes?

2.Explain client sever concept in networking?

3.Define reserved socket and list out all the reserved port number?

4.Define proxy server and write ability or benefits of proxy server?

5.List and explain factory methods of class Inetaddress?

6.List the instance method of Inet address methods with specific example?

7.Explain constructor of java.net.socket with its methods?


8.Write steps to create server application?

9.Define URL class with its constructor and methods?

10.Step to create client application?

11.List and explain any 5 methods of class java.net.URL?

12.Difference between TCP and UDP?

13.Write a program to demonstrate sending and receiving data through datagram packet and
socket?

14.Write note on datagram Packet,datagram socket with its constructor?

15.Write a program for TCP client server that the client accept 3 numbers from users and sends it
to the server .server returns the largest among number?

You might also like