Pranali - Java Report
Pranali - Java Report
MSBTE MUMBAI
Submitted by:
CERTIFICATE
This is to certify that the following students of second year AIML Engineering: -
Has successfully completed Micro-Project of Course Name- Java Programing (22412) for
the academic year 2023-24 as prescribed in the curriculum of MSBTE.
Date:-
1. Rationale 1
2. Aims/Benefits 1
4. Literature Review 2
7. Implementation / Outputs of 3
Micro-Project
8. Skills Developed 6
9. Application of Micro-Project 6
2. Visual Presentation:*
Applets provide a canvas for visual presentation, allowing developers
to customize the appearance of strings by specifying font styles, sizes, colors, alignments,
and other attributes. This flexibility is essential for creating visually appealing and user-
friendly interfaces.
2.2 Benefits :
1. *Dynamic Text Display:* Applets allow for dynamic display of strings, enabling
developers to update text based on user input, application state, or external data
sources. This flexibility is essential for creating interactive and responsive user
interfaces.Accessibility.
2. *Rich Text Formatting:* Applets support rich text formatting, allowing developers to
customize the appearance of strings by specifying font styles, sizes, colors,
alignments, and other attributes. This capability enhances the visual presentation of
text within the applet's graphical user interface..
.
3.0 Course Outcomes Addressed:
1. Implement Exception Handling.
2. Write a Java program for the given problem.
4.0 Literature Review:
Sr. No Software Resources used Searched Information
used
Laptop with https://docs.oracle.com/en/java/
1. Java basic
configuration
2. Web Browser Laptop with jdk download
( Chrome) basic
configuration
Information-
• Displaying strings using an applet in Java involves leveraging the Graphics class to render text
onto a graphical user interface (GUI).
• Typically, you create a subclass of the Applet class and override its paint method. Within the paint
method, you use the Graphics object to set the font, color, and position of the text to be displayed.
import java.applet.*;
import java.awt.*;
String p;
p=getParameter("P1");
g.drawString(p,100,100);
p=getParameter("P2");
g.drawString(p,100,150);
WebpagenamedApplet01.html
<HTML>
<HEAD>
</HEAD>
<BODY>
</APPLET>
</BODY>
</HTML>
Subject Teacher
MR. S. B. MAGDUM