0% found this document useful (0 votes)
3 views7 pages

Pranali - Java Report

The document is a micro project report titled 'Display String Using Applet' submitted by students Utkarsh Kamble, Pranali Babar, and Manthan Patil as part of their Diploma in AIML Engineering. It outlines the rationale, aims, benefits, methodology, resources used, and applications of the project, which focuses on displaying strings in a Java applet. The project emphasizes user interaction, visual presentation, and localization support in applet development.

Uploaded by

nehabamane6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

Pranali - Java Report

The document is a micro project report titled 'Display String Using Applet' submitted by students Utkarsh Kamble, Pranali Babar, and Manthan Patil as part of their Diploma in AIML Engineering. It outlines the rationale, aims, benefits, methodology, resources used, and applications of the project, which focuses on displaying strings in a Java applet. The project emphasizes user interaction, visual presentation, and localization support in applet development.

Uploaded by

nehabamane6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

A

Micro Project Report


On

“ DISPLAY STRING USING APPLET ”

IN FULFILLMENT OF DIPLOMA IN AIML ENGINEERING OF

MSBTE MUMBAI

Submitted by:

1. Utkarsh Kamble (2164)

2. Pranali Babar (2165)

3. Manthan Patil (2166)

Program name: Artificial Intelligence and Machine Learning


Course name: Course name: Java Programing (22412)
Subject Teacher: Mr. S. B. Magdum

Department of AIML Engineering


Shree Swami VivekanandShikshanSanstha’s
Dr. BAPUJI SALUNKHE INSTITUTE OF ENGINEERING AND TECHNOLOGY
KOLHAPUR
Academic Year 2023-2024
Academic Year 2023-2024

Maharashtra State Board of Technical Education, Mumbai

CERTIFICATE
This is to certify that the following students of second year AIML Engineering: -

Utkarsh Kamble (2164)

Pranali Babar (2165)

Manthan Patil (2166)

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:-

SUBJECT TEACHER HOD PRINCIPAL


MR. S. B. MAGDUM MR.S.B. MAGDUM MR.V.D. BHIRDI
INDEX
Sr.No. Contents Page No.

1. Rationale 1

2. Aims/Benefits 1

3. Course Outcomes Achieved 2

4. Literature Review 2

5. Actual Methodology Followed 2

6. Actual Resources Used 3

7. Implementation / Outputs of 3
Micro-Project

8. Skills Developed 6

9. Application of Micro-Project 6

“ DISPLAY STRING USING APPLET ”


1.0 Rationale:
1. User Interaction:*
Applets allow for user interaction, making them suitable for displaying
strings along with other UI components such as buttons, text fields, etc. This interaction
could be as simple as displaying static text or dynamically updating text based on user
input or application logic.

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.0 Aims/Benefits of the Micro-Project

2.1 Aim: - Display string using applet.

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. *Localization Support:* Applets facilitate localization by enabling developers to display


strings in different languages or locales based on user preferences or application settings.
This capability is crucial for creating internationalized applications that cater to a global
audience.

.
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

5.0 Actual Methodology Followed: 1 . Gathered

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.

6.0 Actual Resources Used


Sr.no. Name of Resource used Specif ication

1. Computer system 1 . 1 TB storage


2 . 16 GB RAM
3 . Windows 12

2. Software Microsoft Word 2019

3. Reference Links ht tps://docs.oracle.com/en/java/


7.0 Implementation / Outputs of the Micro-project:
Code –
//MyApplet01.java

import java.applet.*;

import java.awt.*;

public class MyApplet01 extends Applet

public void paint(Graphics g)

String p;

p=getParameter("P1");

g.drawString(p,100,100);

p=getParameter("P2");

g.drawString(p,100,150);

WebpagenamedApplet01.html

<HTML>

<HEAD>

<TITLE>This is my Second Applet</TITLE>

</HEAD>

<BODY>

<APPLET code="MyApplet01" width="300" height="300">

<PARAM name="P1" value="India">

<PARAM name=”P2” value=”Maharashtra”>

</APPLET>

</BODY>
</HTML>

8.0 Skill Developed / Learning outcome of this micro-project

9.0 Application of this Micro-Project


1. Applets can be used to display static text messages or information in graphical user
interfaces (GUIs).
2. Strings displayed within applets can be part of interactive user interfaces where users can input
data or interact with the application.
3.In game development, applets can display text such as scores, game instructions, level information,
or dialogue between characters.
4. Strings displayed within applets can be used in conjunction with graphical elements to visualize
data. For example, in a charting application, strings can label axes, data points, or provide
annotations to explain trends or patterns in the data.

Name of team members with roll numbers :-


1. Utkarsh Kamble (2164)
2. Pranali Babar (2165)
3. Manthan Patil (2166)

Subject Teacher
MR. S. B. MAGDUM

You might also like