8.
Write a Java Program a simple user form which reads the name of a user and mail id in Text fields, select
gender with radio buttons, and selects some Known languages using checkboxes, and also enters an address
in a text area. After filling details whenever a user press the “submit” button, then displays all the
information about the user input.
9.
Write a Java Program to create multiple frames, which create a Frame2 with a ‘back ‘button, such that when
a user click ‘back’ button, Frame 2 is closed and we see the Frame1 only?
10.
A) Write a Java Program to create an applet using Swings which contains two push buttons. If a user
presses a particular button then display a message ‘selected’ button is pressed.
B)
Write a Java Program to create a frame using swing in which create a push button with a label and
image. When the button is clicked an image is displayed in the Frame?
11.
Write a Java Program to create a student table, which includes name, roll no, branch and age or DOB?
12.
Write a Java Program to create a tabbed pane with two tabs. In the first tab sheet, display some push buttons
with names of Branches. In second tab sheet, display checkboxes with names of subjects.
13.
A) Write a java program to create a menu with several menu items by implementing JMenu.
B)
Write a java program to create a combo box with some name of some places. The user can select any
one name from the list and the selected country name is displayed in the frame? (Use JComboBox)
C)
Write a java program to select multiple places and displayed in Frame using JList?
14.
Write a java program to create a simple visual bean with a area filled with a color. The shape of the area
depends on the property shape. If it is set to true then the shape of the area is Square and it is Circle, if it is
false. The color of the area should be changed dynamically for every mouse click. The color should also be
changed if we change the color in the “property window “.
15.
Write a java program to create a bean that performs conversion of American dollar to Indian rupee.
16.
Write a java program to create a bean that counts the number of button clicks?
17.
A) Write a Java program that implements a simple client/server application. The client sends data to a
server. The server receives the data, uses it to produce a result, and then sends the result back to the client.
The client displays the result on the console. For ex: The data sent from the client is the radius of a circle,
and the result produced by the server is the area of the circle. (Use java.net)
B)
Write a Java program to retrieve the information from the given URL? (Note: Read the URL from
Command Line Arguments).
18.
Write a java program to create a sample TCP chat application where client and server can chat with each
other?
19.
Installation of Apache Tomcat webserver.
20.
A) Write a java Program to create a simple servlet and run it using tomcat server.
B)
Write a java Program to create a servlet to read information from client Registration page?
21.
A) Write a java Program to create a JSP page to display a simple message along with current Date?
B)
Write a java Program to create a JSP page to display the random number?
22.
Write a java Program to create a User request page in JSP?
REFERENCES:
1.
Java; the complete reference, 7th editon, Herbert schildt, TMH.
2.
Introduction to Java programming 6th edition, Y. Daniel Liang, pearson education.
3.
An introduction to Java programming and object oriented application development, R.A. Johnson-
Thomson.
4.
Core Servlets and Java Server pages volume1: Core Technologies By Marty Hall and Larry Brown
Pearson.