Java MP
Java MP
POLYTECHNIC
MICRO PROJECT
Academic year: 2023-24
Roll No:
Enrolment No:
Certificate
Roll No Individual
Sr. Process and Total
Name of Students Presentation
No. Product
assessment (06) (04) (10)
1.0 Rationale: This course develops necessary skills in students to apply object oriented programming
Techniques in java so that students will be able to develop complete applications using core
Java.
2.1 Aim/Benefits of the Micro-Project:
The Aim of Micro Project is to study development of Stop Watch designing using Applet
.1 Course Outcomes Integrated:
Develop a program using applet in java.
Apply the concept of interface in the program
Develop a program using ActionListener in java.
Semester: Fourth
Semester: Fourth
2 Literature Survey .
Information Collection
3 Completion of the
Target as per project
proposal
5 Quality of
Prototype/Model/Content
6 Report Preparation
7 Presentation .
8 Viva
SR CONTENT PAGE
NO. NO.
1. Acknowledgement
2. Introduction
3. What is Applet?
4. Program Information
5. Program code
6. Program
7. Output
This Micro project would not have been possible without considerable guidance
and support so, we would like to acknowledge those who have enable us to
complete this project. Firstly we would like to thank our project guide,
the guideline with continuous advice and feedback throughout the duration of
finishing the project; their opinion and suggestion have helped us in a realizing
this project. Also, not to be forgotten, we would like to thank all our friends
with the report valuable opinion and sharing ideas during the process of this
project. Finally, we would like to thank our families for their understanding,
much
Introduction
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
Program Information
1. Once the beginning button is click, we tend to begin the timer. Whereas the
reset or stop button isn’t pressed the we tend to keep the timer running i.e we alter
the worth of the timer (HH:MM:SS:MS) each one time unit so update the screen.
2. Once button is clicked, then we have a tendency to stop the timer and set it to
its default worth (00:00:00:000). 3. Once the stop button is ironed, then we have
a tendency to stop the timer with the worth because it is. 4. Once the beginning
button is ironed and if no alternative button is placed the timer can continue and
can stop only if the applications programme program is closed.
Procedure:-
d) Initialize all the specified variables of kind Button, int, String and mathematician
e) Declare a user-defined technique to initialize all the variables that are to be used
f) Then declare a perform to reset() the timer that contain the try-catch block to handle
exception.
g) Then declare the perform update() to line all the values consequently.
h) Develop a changeLabel() methodology to properly format the show of the timer in output.
startButton.addActionListener(this);
stopButton.addActionListener(this);
resetButton.addActionListener(this);
add(timeLabel);
add(startButton);
add(stopButton);
add(resetButton);
}
APPLET CODE:
<html>
<body>
<applet>
</applet>
</body>
</html>
OUTPUT
Conclusion & References
Conclusion:
The popularity of Java applets means that a vastly increased number of
users will run untrusted software on a regular basis. Current security
strategies that focus on limiting applet access to dangerous system calls
are useful but insufficient; the ability of applets to freely manipulate
even a portion of the screen display, combined with the ability to send
information back to their source machines via the network, allows
applets to mount Trojan horse attacks by imitating the user interface
elements of trusted software
Reference:
Geeeksforgeeks
Techtarget
w3schools