0% found this document useful (0 votes)
8 views3 pages

AJP Practical Programs

The document outlines various Java programming tasks, including creating a 5x5 grid, displaying numbers on buttons, generating specific outputs, and developing applications using GUI components like JComboBox, JTable, and JPasswordField. It also includes tasks related to network programming, such as using InetAddress, URL, and creating chat applications with sockets. Additionally, it mentions servlet programming for web applications.

Uploaded by

omkargorule814
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)
8 views3 pages

AJP Practical Programs

The document outlines various Java programming tasks, including creating a 5x5 grid, displaying numbers on buttons, generating specific outputs, and developing applications using GUI components like JComboBox, JTable, and JPasswordField. It also includes tasks related to network programming, such as using InetAddress, URL, and creating chat applications with sockets. Additionally, it mentions servlet programming for web applications.

Uploaded by

omkargorule814
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/ 3

Write java Program to Demonstrate Grid of 5* 5

Write a program to display The Number on Button from 0 to 9.

Write a program to generate following output

Write a program to generate following output using Grid Layout

Write a program to generate above output

Write a program to generate above output

Develop an applet/ application using List components to add names of 10 different cities.
Develop applet / application to select multiple names of news papers

Write a program to generate following output

Write a program to develop a frame to select the different states of India usingJComboBox

Develop a program to demonstrate the use of ScrollPane in Swings

Develop a program to demonstrate the use of tree component in swing.

Write a program code to generate the following output

Develop a program to demonstrate the use of JTable.

Write a program code to generate the following output

Write a program to generate KeyEvent when a key is pressed and display “Key Pressed” message
Write a program using JPasswordField to set the password character as ‘#’ instead of ‘*’

Write a program using JPasswordField and JTextField to demonstrate the use of user
authentication

Write a program using JTextField to perform the addition of two numbers.

Write a program using MouseMotionAdapter class to implement only one method


mouseDragged().

Write a program using JPasswordField to accept password from user and if the length is less than
6 characters then error message should be displayed “Password length must be >6 characters”

Develop a program using InetAddress class to retrieve IP address of computer when hostname is
entered by the user.

Write a program using URL class to retrieve the host, protocol, port and file of URL
http://www.msbte.org.in

Write a program using URL and URLConnection class to retrieve the date,content type, content
length information of any entered URL

Write a program using Socket and ServerSocket to create Chat Application

Write a program using DatagramPacket and DatagramSocket to create chat application

Develop a program to perform prepaerd statement to insert record in database table

Develop servlet program to print Hello MSBTE in browser window.

You might also like