You are on page 1of 10

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

MIT POLYTECHNIC PUNE


MICRO PROJECT
Academic year: 2020-21
Word Counter Based On Swing

Program: Computer Engineering


Program code: CO5I
Course: Advanced Java Programming
Course code: 22517
MAHARASHTRA STATE
BOARD OF TECHNICAL EDUCATION
Certificate
This is to certify that Mr./Ms. Neha Pawar Roll No: 34 of V Semester of
Diploma in Computer Engineering of Institute: MIT Polytechnic Pune
(Code:0148) has completed the Micro Project satisfactorily in Subject:
Advanced Java Programming (22517) for the academic year 2020-21 as prescribed
in the curriculum.

Place: Pune Enrollment No: 1901480142

Date: Exam. Seat No: --

Subject Teacher Head of the Department Principal

Institute

Seal
MAHARASHTRA STATE
BOARD OF TECHNICAL EDUCATION
Certificate
This is to certify that Mr./Ms. Shweta Bhargude Roll No: 56 of V Semester of
Diploma in Computer Engineering of Institute: MIT Polytechnic Pune
(Code:0148) has completed the Micro Project satisfactorily in Subject:
Advanced Java Programming (22517) for the academic year 2020-21 as prescribed
in the curriculum.

Place: Pune Enrollment No: 1901480165

Date: Exam. Seat No: --

Subject Teacher Head of the Department Principal

Institute

Seal
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Student/Group Details (if group is applicable):

SR.NO NAME ROLL.NO. ENROLLMENT SEAT


NO. NO.
1. Neha Pawar 34 1901480142
2. Shweta 56 1901480165
Bhargude

Name of Guide: Prof. S.M.Deshpande


Micro-Project Proposal-A
For V semester

Advanced Java Programming

Word Counter Based On Swing

1.0 Brief Introduction:

The Word Counter is a dynamic online tool used for counting words,
characters, sentences, paragraphs and pages in real time, along with spelling
and grammar checking. Writers leverage it to improve word choice and
writing style as well as helping to detect grammar mistakes and plagiarism.
Additionally, to assist with public speaking, our tool will accurately
estimate speaking time to help with prep for class presentations, wedding
speeches, or anything of the sort.
The Word Counter by typing directly into the text area above or pasting in
your content. Word and character counts will display at the top.

2.0 Aim of the Micro-Project:

WordCounter will help to make sure its word count reaches a specific requirement or
stays within a certain limit. In addition, WordCounter shows you the top 10 keywords
and keyword density of the article you're writing. This allows you to know which
keywords you use how often and at what percentages.

3.0 Action Plan:


Sr No. Details of activity Planned Planned Name of Responsible
Start Date Finish Date team member
1. Searching for topic
2. Surveying Information
3. Requirement Analysis
4. Finalizing Layout 1.Neha Pawar

5. Generating Program and Final 2.Shweta Bhargude

Execution
6. Report Generation
7. Final submission

4.0 Resources required


Sr.No. Name of Resources/material Specification Quantity Remarks

1 Computer system Any desktop/laptop One computer system


with Linux distribution for each student
2 Office software Package MS office or Libre Not applicable
Office
3 Software required Jdk 16

Micro-Project Proposal-B
Word Counter Based On Swing

3.0 Brief Introduction:


The Word Counter is a dynamic online tool used for counting words, characters,
sentences, paragraphs and pages in real time, along with spelling and grammar
checking. Writers leverage it to improve word choice and writing style as well as
helping to detect grammar mistakes and plagiarism. Additionally, to assist with
public speaking, our tool will accurately estimate speaking time to help with
prep for class presentations, wedding speeches, or anything of the sort.

The Word Counter by typing directly into the text area above or pasting in your
content. Word and character counts will display at the top.

1.0 Aim of the Micro-Project:


Word Counter will help to make sure its word count reaches a specific requirement or stays
within a certain limit. In addition, WordCounter shows you the top 10 keywords and keyword
density of the article you're writing. This allows you to know which keywords you use how
often and at what percentages.

2.0 Course Outcomes Integrated:


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

3.0 Actual Procedure Followed :

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class WordCounter extends JFrame implements ActionListener{

JLabel lb1,lb2;
JTextArea ta;
JButton b;
JButton pad,text;
WordCounter(){
super("Char Word Count Tool - JTP");
lb1=new JLabel("Characters: ");
lb1.setBounds(50,50,100,20);
lb2=new JLabel("Words: ");
lb2.setBounds(50,80,100,20);

ta=new JTextArea();
ta.setBounds(50,110,300,200);

b=new JButton("click");
b.setBounds(50,320, 80,30);//x,y,w,h
b.addActionListener(this);

pad=new JButton("Pad Color");


pad.setBounds(140,320, 110,30);//x,y,w,h
pad.addActionListener(this);

text=new JButton("Text Color");


text.setBounds(260,320, 110,30);//x,y,w,h
text.addActionListener(this);
add(lb1);add(lb2);add(ta);add(b);add(pad);add(text);

setSize(400,400);
setLayout(null);//using no layout manager
setVisible(true);
setDefaultCloseOperation(EXIT_ON_CLOSE); }
public void actionPerformed(ActionEvent e){
if(e.getSource()==b){
String text=ta.getText();
lb1.setText("Characters: "+text.length());
String words[]=text.split("\\s");
lb2.setText("Words: "+words.length);
}else if(e.getSource()==pad){
Color c=JColorChooser.showDialog(this,"Choose
Color",Color.BLACK);
ta.setBackground(c);
}else if(e.getSource()==text){
Color c=JColorChooser.showDialog(this,"Choose
Color",Color.BLACK);
ta.setForeground(c);
}
}
public static void main(String[] args) {
new WordCounter(); }
}
4.0 Actual Resources used:
Computer system – Any desktop or laptop computer.
Software used – Windows 10, Eclipse IDE

5.0 Skill Developed/learning out of this Micro-Project:


Able to implement:-
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

Micro-Project Evaluation Sheet

Roll Student Enrollment Process Product Total


No. Name Number Assessment Assessment Mark
(10)
34. Neha Pawar Part A – Project Part B – Individu
Project Method Project al
56. Shweta Proposa ology report/ Presentat
Bhargude l (2) (2) working ion/Viva
model (4)
(2)

Comments/Suggestion about team work/Leadership/inter personal


communication (if any):
Any other comments:

Name of the Faculty Member Signature


(Prof. S.M.Deshpande)

You might also like