0% found this document useful (0 votes)
22 views3 pages

Report-Part A

Uploaded by

patelmomaaz185
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)
22 views3 pages

Report-Part A

Uploaded by

patelmomaaz185
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/ 3

PART A – Micro-Project Proposal

Calculator using Swing

1.0 Brief Introduction


In this micro project, we will use the classes/interfaces we studied to develop calculator. This
micro project will address the practical implementation of Swing and Event Handling topics
studied.

2.0 Aim of the Micro-Project


This Micro-Project aims at:
1. Use the classes and interfaces we studied to develop calculator
2. Practical implementation of event handling mechanism in Java

3.0 Intended Course Outcomes


a. Develop program using GUI framework (AWT and Swing)
b. Handle events of AWT and Swing Components.
c. Develop programs to handle events in Java Programming.
d. Develop Java Programs using Networking Concepts.
e. Develop programs using Database.
f. Develop programs using Servlets.
[Note: Write only those points from above according to your micro project e.g. if you are using
Swing and JDBC, write only b, c and e.]

4.0 Literature Review


[Note: Write below according to your micro project e.g. if you are using Swing and JDBC,
write about Swing and JDBC below]
Swing
Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation Classes (JFC) –
an API for providing a graphical user interface (GUI) for Java programs.
Swing was developed to provide a more sophisticated set of GUI components than the earlier
Abstract Window Toolkit (AWT). Swing provides a look and feel that emulates the look and feel of
several platforms, and also supports a pluggable look and feel that allows applications to have a look
and feel unrelated to the underlying platform. It has more powerful and flexible components than
AWT. In addition to familiar components such as buttons, check boxes and labels, Swing provides
several advanced components such as tabbed panel, scroll panes, trees, tables, and lists.
Unlike AWT components, Swing components are not implemented by platform-specific code.
Instead, they are written entirely in Java and therefore are platform-independent.

The Delegation Event Model


The modern approach to handling events is based on the delegation event model, which
defines standard and consistent mechanisms to generate and process events. Its concept is quite
simple: a source generates an event and sends it to one or more listeners. In this scheme, the listener
simply waits until it receives an event. Once an event is received, the listener processes the event
and then returns. The advantage of this design is that the application logic that processes events
is cleanly separated from the user interface logic that generates those events. A user interface
element is able to “delegate” the processing of an event to a separate piece of code.
In the delegation event model, listeners must register with a source in order to receive an
event notification. This provides an important benefit: notifications are sent only to listeners
that want to receive them. This is a more efficient way to handle events than the design used
by the old Java 1.0 approach. Previously, an event was propagated up the containment hierarchy
until it was handled by a component. This required components to receive events that they did
not process, and it wasted valuable time. The delegation event model eliminates this overhead.

4.0 Proposed Methodology


In order to create any application/program following steps are followed.
 Defining and Analyzing the Problem. In this step, a programmer studies the problem
 Designing the Algorithm and drawing flowcharts
 Coding or Writing the Program
 Test Execution
 Debugging
 Final Documentation.
We will follow the same above steps to create the micro project

5.0 Resources Required (major resources like raw material, tools, software etc.)
S. No. Name of Specifications Qty Remarks
Resource/material
1 PC Core i3, RAM 4GB 1
2 Operating System Windows 10/11 1
3 Software JDK 20, VS Code/Eclipse 1

6.0 Action Plan (Sequence and time required for major activities for 8-10 Weeks)
S. Details of activity Planned Planned Name of
No. Start date Finish date Responsible Team
Members
1 Analysis 29/07/2024 03/08/2024
2 Study Swing, Event handling* 05/08/2024 10/08/2024
3 Design the calculator GUI* 12/08/2024 17/08/2024
Write algorithm and draw program
4 19/08/2024 24/08/2024
flowchart
5 Coding and testing 02/09/2024 07/09/2024
6 Coding and testing 09/09/2024 14/09/2024
7 Coding and testing 16/09/2024 21/09/2024
8 Coding and testing 23/09/2024 28/09/2024
9 Report writing 30/10/2024 05/10/2024
10 Demo and Submission 07/10/2024 12/10/2024

*will be modified according to your microproject


Submitted by:
1)
2)
3)
4)

You might also like