Java File Programming



Si. No.
Program Name
Source Code
Instruction
Input-Output
1
Write a programe that use the different types of File object's methods.
Input-Output
2
Write a programe that illustrates how to use isDirectory() and list() methods to examine the contents of a directiry.
Input-Output
3
Write a programe that shows names of the HTML files wihin a filepath.
Input-Output
4
Write a simple console output programe to display 'A' that use System.out.write().
Input-Output
5
Write a programe use a BufferedReader to read characters from the console.
Input-Output
6
Write a programe that Reads a string from console using a BufferedReader.
Input-Output
7
write a programe that create a file and takes its inputs as one charecer at a time

Input-Output
8
write a programe that create a file and takes its inputs as one line at a time and put one charecter at a time
Input-Output
9
Write a java programe that reads a file as one charecter at a time with espacific directory and display on output.
Input-Output
10
Write a java programe that reads itself and display on output.
Input-Output
11
Read a file as charecter and create another file that contains the contents of privious file.
Input-Output
12
Write a java programe that reads itself as one line at a time using FileReader.
Input-Output
13
Write a java programe that reads itself as one charecter at a time using FileReader class.
Input-Output
14
Copy a text file.
Input-Output
15
Write a programe that create files using FileWriter and also use different form write method.
Input-Output
16
Create a tiny editor with maximum of 100 lines.
Input-Output


JFrame
MouseEvent & MouseMtionEvent

Si. No.
Programe Name
Source Code
Instraction
Input-Output
1
Create a java Application that uses MouseAdapter
Input-Output
2
Write a simple java application program using JFrane that extends MouseAdapter
Input-Output
3
Create a simple java Application program that implements MouseListener, MouseMotionListener simultaniuosly
Input-Output
4
Write a simple java application program using JFrane that extends MouseAdapter and MouseMotionAdapter simultaniously
Input-Output

KeyEvent

Si. No.
Programe Name
Source Code
Instraction
Input-Output
1
Create a simple java Application program that implements KeyListener
Input-Output
2
Create a simple java Application program that extends KeyAdapter
Input-Output
3
Create a simple java Application to write text using KeyListener
Input-Output
4
Create a simple java Application to write text using KeyAdapter
Input-Output
5
Create a simple java Application program that demonstrate some virtual key codes using KeyAdapter
Input-Output

 ActionEvent

Si. No.
Programe Name
Source Code
Instraction
Input-Output
1
Create a simple java Applisation program that implements ActionListener using button
Input-Output
2
Create a simple java Application program that implements ActionListener using TextField
Input-Output

 Layout

Si. No.
Programe Name
Source Code
Instraction
Input-Output
1
create a simple java Application program that shows the use of FlowLayout that takes no parameter to arrange
the component at the center of the window
Input-Output
2
create a simple java Application program that shows the use of FlowLayout to arrange
the component from the left side of the window
Input-Output
3
create a simple java Application program that shows the use of FlowLayout to arrange
the component at the right side of the window
Input-Output
4
create a simple java Application program that shows the use of FlowLayout to arrange
the component at the center of the window
Input-Output
5
create a simple java Application program that shows the use of GridLayout to arrange
the Button
Input-Output





Applet Programe
MouseEvent & MouseMotionEvent
Si. No.
Program Name
Source Code
Instraction
Input-Output
1
Create a java applet that illustrate MouseAdapter very simply
Instraction
Input-output
2
Create a simple java applet that illustrate MouseAdapter and MouseMotionAdapter very simple
Instraction
Input-Output
3
Create a simple java applet that implements MouseListener, MouseMotionListener simultaniuosly and illustrate it very simply
Instraction
Input-Output
4
Create a simple java Applet that shows the events of MouseListener interface with the mouse icon on Applet window ucing MouseListener interface*/
Instraction
Input-Output
5
Create a simple java Applet that shows the events of MouseListener interface on the status bar of the Applet window ucing MouseListener interface*/
Instraction
Input-Output
6
Create a simple java Applet that shows the events of some of the MouseListener interface on the status bar of the Applet window ucing MouseAdapter class*/
Instraction
Input-Output
7
Create a simple java Applet that shows the mouse moving and dragging position with the mouse icon on Applet window ucing MouseMotionListener interface
Instraction
Input-Output
8
Create a simple java Applet that shows the mouse moving and dragging position on the status bar of the Applet window ucing MouseMotionListener interface*/
Instraction
Input-Output
9
Create a simple java Applet that shows the mouse moving position only with the mouse icon on Applet window ucing MouseMotionAdapter class
Instraction
Input-Output
10
Create a simple java Applet that shows the mouse moving position only on the status bar of the Applet window ucing MouseMotionAdapter class
Instraction
Input-Output
11
Create a Applet program that Demonstrates the mouse event handlers.
Instraction
Input-Output
KeyEvent
Si. No.
Programe Name
Source Code
Instraction
Input-Output
1
Create a simple java applet that illustrate the KeyListener interface very simply
Instraction
Input-Output
2
Create a simple java applet that illustrate KeyAdapter class very simply
Instraction
Input-Output
3
Create a simple java Applet that demonstrate some virtual key codes using KeyListener
Instraction
Input-Output
4
Create a simple java Applet to write text on Applet window using KeyListener
Instraction
Input-Output
5
Create a simple java Applet to write text on Applet window using KeyAdapter
Instraction
Input-Output
6
Create a simple java Applet that demonstrate some virtual key codes using KeyAdapter
Instraction
Input-Output
ActionEvent
Si. No.
Programe Name
Source Code
Instraction
Input-Output
1
Create a simple java applet that implements ActionListener using button
Instraction
Input-Output
2
Create a simple java applet that implements ActionListener using TextField
Instraction
Input-Output
Layout
Si. No.
Programe Name
Source Code
Instraction
Input-Output
1
create a simple java applet that shows the use of FlowLayout with default parameter to arrange
the component at the center of the window
Instraction
Input-Output
2
create a simple java applet that shows the use of FlowLayout to arrange the component from the left side of the window
Instraction
Input-Output
3
create a simple java applet that shows the use of FlowLayout to arrange the component at the right side of the window
Instraction
Input-Output
4
create a simple java applet that shows the use of FlowLayout to arrange
the component at the center of the window
Instraction
Input-Output
5
create a simple java applet that shows the use of GridLayout to arrange the Button
Instraction
Input-Output