java2
java2
CERTIFICATE
This is to certify that the following students of Third Year Computer Engineering
1. Rohit Pandurang Gurav (3222)
have completed their Micro-Project work on “Develop application to show directory structure of
your system”. This is in partial fulfillment of the requirements for the award of the Diploma in
Computer Engineering and submitted to the Computer Engineering Department of Dr.D.Y.PATIL
POLYTECHNIC KOLHAPUR work carried out during a period of the academic year 20232024 as
prescribed in curriculum of MSBTE.
Place: Kolhapur
Date:
It’s our Pleasure to express sincere and heartiest thanks to our Micro-Project guide Prof. P. K.
Shinde for their valuable guidance, encouragement and support for the accomplishment of
MicroProject.
We are also really thankful to our Principle Dr. M. M. Narke . and the Head of Department
Prof. Shinde P.K. for their constant encouragement and motivation for the accomplishment of the
Micro-Project by expressing their guidelines regarding importance of MicroProject in developing
our career.
I am thankful to Co-workers of this Micro-Project for their valuable contribution. We
are thankful to all those peoples who directly or indirectly helped us in completion of this
Micro Project.
Name of Students
1. Rohit Pandurang Gurav (3222)
1. Rationale 1
4. Literature Review. 1
Micro-Project 5
1.0 Rationale:
In this Develop application to windows system, the event comment window listener is used.
A windows is a that is used to opening and closing windows. In Java, a window event
program refers to handling events related to graphical user interfaces (GUIs) and windows.
These events are typically associated with the user interacting with the GUI, and Java
provides a mechanism to respond to these events.
Benefit:
Efficiency: A window can be open and close
User friendly : user can open and close window as their required.
Title of
Sr.No. book/websites Author
1
Develop application for WindowEvent
Frame: A Frame is a top-level window with a title and a border.The size of the frame
includes any area designated for the border.
Public void windowclosing (WindowEvent e): It is called when the user attempts
to close the window from the system menu of the window.
No Resource/material
Computer System DELL optiplex,2.93 GHz, 2 GB< RAM, 500 GB HDD
1
4 Links https://wwww.tutorialspoint.com/javahttps://nptel.ac.in/courses/1
06105084/30https://www.javatpoint.com/servlet-tutorial
2
Develop application for WindowEvent
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
args[])
frame.addWindowListener(new WindowAdapter()
System.exit(0);
});
frame.setSize(300, 30g0);
frame.setVisible(true);
4
Develop application for WindowEvent
Output: