0% found this document useful (0 votes)
41 views

"Folder Explore": A Micro Project Report On

This document is a micro project report on a "FOLDER EXPLORE" project submitted by 4 students - Tanishka Pramod Patil, Snehal Aambadas Zurde, Pranjal Bhimrao Salve, and Arpita Kailash Lengare. It includes certificates of completion for each student, an annexure with the project proposal and aims/benefits, course outcomes achieved, and a literature review section. The main purpose of the project was to develop a folder explorer application in Java to allow users to easily work with files and directories.

Uploaded by

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

"Folder Explore": A Micro Project Report On

This document is a micro project report on a "FOLDER EXPLORE" project submitted by 4 students - Tanishka Pramod Patil, Snehal Aambadas Zurde, Pranjal Bhimrao Salve, and Arpita Kailash Lengare. It includes certificates of completion for each student, an annexure with the project proposal and aims/benefits, course outcomes achieved, and a literature review section. The main purpose of the project was to develop a folder explorer application in Java to allow users to easily work with files and directories.

Uploaded by

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

A

Micro Project Report


On
“FOLDER EXPLORE”

Submitted by
Tanishka Pramod Patil
Snehal Aambadas Zurde
Pranjal Bhimrao Salve
Arpita Kailash Lengare

Under the Guidance of


Prof. : R.C.Mahajan
In the Partial Fulfilment of fifth Semester of Diploma in

Department of Computer Engineering


Sandip Polytechnic
Mahiravani, Nashik - 422213

Affiliated to

Maharashtra State
Board of Technical Education

Academic Year 2022-23


Maharashtra State
Board of Technical Education

Certificate

This is to certify that Ms. Tanishka Pramod Patil Roll No-57 has successfully completed Micro-project in
course Adavanced Java Programming(22517) for the academic year 2022-23 as prescribed in the 'Assessment
Manual' during his/her tenure of completing fifth Semester of Diploma Program in Computer Engineering from
institute, SandipPolytechnic with institute code 1167.

Place : Nashik Enrollment No: 2111670150

Date: Exam Seat No:

Prof. : R.C.Mahajan Prof.: G.K.Gailkwad Prof.: P. M. Dharmadhikari


Course Teacher Head of the Department Head of the Institute
Maharashtra State
Board of Technical Education

Certificate

This is to certify that Ms. Snehal Aambadas Zurde Roll No- 59 has successfully completed Micro-project in
course Adavanced Java Programming(22517) for the academic year 2022-23 as prescribed in the 'Assessment
Manual' during his/her tenure of completing fifth Semester of Diploma Program in Computer Engineering from
institute,Sandip Polytechnic with institute code 1167.

Place : Nashik Enrollment No: 2111670161

Date: Exam Seat No:

Prof. : R.C.Mahajan Prof.: G.K.Gailkwad Prof.: P. M. Dharmadhikari


Course Teacher Head of the Department Head of the Institute
Maharashtra State
Board of Technical Education

Certificate

This is to certify that Mr. Pranjal Bhimrao Salve Roll No- 62 has successfully completed Micro-project
incourse Adavanced Java Programming(22517) for the academic year 2022-23 as prescribed in the 'Assessment
Manual' during his/her tenure of completing fifth Semester of Diploma Program in Computer Engineering from
institute,Sandip Polytechnic with institute code 1167.

Place : Nashik Enrollment No: 2111670135

Date: Exam Seat No:

Prof. : R.C.Mahajan Prof.: G.K.Gailkwad Prof.: P. M. Dharmadhikari


Course Teacher Head of the Department Head of the Institute
Maharashtra State
Board of Technical Education

Certificate

This is to certify that Ms. Arpita Kailash Lenagre Roll No- 63 has successfully completed Micro-project in
course Adavanced Java Programming(22517) for the academic year 2022-23 as prescribed in the 'Assessment
Manual' during his/her tenure of completing fifth Semester of Diploma Program in Computer Engineering from
institute, SandipPolytechnic with institute code 1167.

Place : Nashik Enrollment No: 2111670138

Date: Exam Seat No:

Prof. : R.C.Mahajan Prof.: G.K.Gailkwad Prof.: P. M. Dharmadhikari


Course Teacher Head of the Department Head of the Institute
Annexure – I

Micro Project Proposal


“FOLDER EXPLORE”
1.0 Aims/Benefits of the Micro-Project:

Project Explorer (PE) is a tool to help you organize the contents of your Origin project
files (OPJ). Project Explorer is split into two panels. The primary panel (top) shows
project folder structure. The sub-panel (bottom) shows windows in the folder highlighted
in the primary panel.
The main purpose of the Folder explorer in Java is to allow users to easily work with the
files and directories stored on any connected disk in the computer system.

2.0 Course Outcomes Addressed:

• Develop programs using GUI Framework (AWT and Swing).


• Handle events of AWT and Swings Components.
• Develop programs to handle events in Java Programming.
Develop Java programs using networking concepts.
• Develop programs using Database.
• Develop programs using Servlets

3.0 Proposed Methodology:

File Explorer, previously known as Windows Explorer, is a file manager application that is included
with releases of the Microsoft Windows operating system from Windows 95 onwards. It provides
a graphical user interface for accessing the file systems. It is also the component of the operating system
that presents many user interface items on the screen such as the taskbar and desktop. Controlling the
computer is possible without Windows Explorer running (for example, the File ▸ Run command in Task
Manager on NT-derived versions of Windows will function without it, as will commands typed in a
command prompt window).
4.0 Action Plan:

Sr. Planned Planned Name of Responsible Team


Details of Activity
No Start Date Finish Date Members
1 Topic Discussion & Selection 4/9/22 7/9/22

2 Aim/Benefits & Importance 7/9/22 21/9/22

3 Resources Required 21/9/22 12/10/22


12/10/22 2/11/22 1. Tanishka Pramod Patil
4 Analysis of Collected Data
2. Snehal Aambadas Zurde
5 Design & Editing of data 2/11/22 9/11/22 3. Pranjal Bhimrao Salve
4. Arpita Kailash Lengare
6 Compilation of Report 9/11/22 23/11/22

7 Compilation of Presentation 23/11/22 30/11/22

8 Presentation of Seminar 30/11/22 5/12/22

9 Final Submission 7/12/22 7/12/22

5.0 Resources Required:


Sr Name of Resource/Material Specification Qty. Remarks
No
1 Hardware Resource Intel i3,2GB RAM 1 -
2 Software Resource Turbo C/C++ 1 -
3 Any Other Resource Internet 1 -

6.0 Name of Team Members with Roll Nos:

Roll No Name of Team Members


57 Tanishka Pramod Patil
59 Snehal Aambadas Zurde
62 Pranjal Bhimrao Salve
63 Arpita Kailash Lengare

Name & Signature of Course Teacher


(Prof. : R.C.Mahajan)
Annexure – II

Micro Project Report

1.0 Aims/Benefits of the Micro-Project:

Project Explorer (PE) is a tool to help you organize the contents of your Origin project
files (OPJ). Project Explorer is split into two panels. The primary panel (top) shows
project folder structure. The sub-panel (bottom) shows windows in the folder highlighted
in the primary panel.
The main purpose of the Folder explorer in Java is to allow users to easily work with the
files and directories stored on any connected disk in the computer system.

2.0 Course Outcomes Achieved:

• Develop programs using GUI Framework (AWT and Swing).


• Handle events of AWT and Swings Components.
• Develop programs to handle events in Java Programming.
Develop Java programs using networking concepts.
• Develop programs using Database.
• Develop programs using Servlets

3.0 Literature Review:

This section begins by describing in Subsection 1, the alternatives that are


currently available for programming interactive sites on the Web. In Subsection 2, we
present Java servlets and how they can be integrated with JDBC. Finally Subsection 3
compares the present technologies with Java servlets.
4.0 Actual Methodology Followed:

❖ Introduction:-

Folder Explorer is a file management system that browses files and folders from the computer
storage with the help of an operating system. It provides a graphical user interface for the end-user
to operate and access the files stored in the computer system's storage. It shows the stored data in
an organized manner.

The main purpose of the Folder explorer in Java is to allow users to easily work with the files and
directories stored on any connected disk in the computer system. In a good folder explorer, when
a user selects a file within the folder explorer, users can perform various actions such as renaming,
copying-pasting, emailing, printing, moving, or deleting the file. These actions can also be
performed with entire folders also. Files can be searched, dragged, and dropped between folders.
It can also allow you to create folders under folders.

 JDK:
The JDK is a development environment for building applications and components using the
Java programming language. The JDK includes tools for developing and testing programs
written in the Java programming language and running on the Java platform.
 Java AWT:
Java AWT is an API that contains large number of classes and methods to create and manage
graphical user interface ( GUI ) applications. The AWT was designed to provide a common set of
tools for GUI design that could work on a variety of platforms. The tools provided by the AWT are
implemented using each platform's native GUI toolkit, hence preserving the look and feel of each
platform. This is an advantage of using AWT.

 Swing:
Swing in java is part of Java foundation class which is lightweight and platform independent. It is
used for creating window based applications. It includes components like button, scroll bar, text
field etc. Putting together all these components makes a graphical user interface.
 JButton:
The JButton class is used to create a labeled button that has platform independent
implementation. The application result in some action when the button is pushed. It inherits
AbstractButton class.

 JFrame:
JFrame is a top-level container that provides a window on the screen. A frame is actually a
base window on which other components rely, namely the menu bar, panels, labels, text fields,
buttons, etc. Almost every other Swing application starts with the JFrame window.

❖ Implementation:-

Program to build a folder Explorer in Java:-


import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.tree.*;

class FolderExplorer extends JPanel implements ActionListener


{
JTextField jtf;
JTextArea jta;
JTable jtb;
JTree tree;
JButton refresh;
JScrollPane jsp, jspTable;

final String[] colHeads = {"File", "Storage", "Only Read ?", "Hidden File ?"};
String[][]data = {{"", "", "", "", ""}};

FolderExplorer(String path)
{
jtf = new JTextField();
jta = new JTextArea(15,50);
refresh = new JButton("Reset");

File tmp = new File(path);


DefaultMutableTreeNode top = createTree(tmp);
tree = new JTree(top);

jsp = new JScrollPane(tree);

final String[] colHeads = {"File","Storage","Only Read?","Hidden File?"};


String[][]data = {{"", "", "", "", ""}};
jtb = new JTable(data, colHeads);
jspTable = new JScrollPane(jtb);

setLayout(new BorderLayout());
add(refresh, BorderLayout.NORTH);
add(jtf, BorderLayout.SOUTH);
add(jsp, BorderLayout.EAST);
add(jspTable, BorderLayout.CENTER);

tree.addMouseListener(
new MouseAdapter()
{
public void mouseClicked(MouseEvent event)
{
doMouseClicked(event);
}
});
jtf.addActionListener(this);
refresh.addActionListener(this);
}

public void actionPerformed(ActionEvent ev)


{
File tmp = new File(jtf.getText());
DefaultMutableTreeNode newTop = createTree(tmp);
if(newTop != null)
tree = new JTree(newTop);

remove(jsp);
jsp = new JScrollPane(tree);
setVisible(false);
add(jsp, BorderLayout.WEST);
tree.addMouseListener(
new MouseAdapter()
{
public void mouseClicked(MouseEvent event)
{
doMouseClicked(event);
}
});

setVisible(true);
}

DefaultMutableTreeNode createTree(File tmp)


{
DefaultMutableTreeNode top = new DefaultMutableTreeNode(tmp.getPath());
if(!(tmp.exists() && tmp.isDirectory()))
return top;

fillTree(top, tmp.getPath());
return top;
}

void fillTree(DefaultMutableTreeNode root, String fileName)


{
File tmp = new File(fileName);

if(!(tmp.exists() && tmp.isDirectory()))


return;

File[] fileList = tmp.listFiles();

for(int i=0; i<fileList.length; i++)


{
if(!fileList[i].isDirectory())
continue;

final DefaultMutableTreeNode tmpDmtn = new


DefaultMutableTreeNode(fileList[i].getName());
root.add(tmpDmtn);
final String newFileName = new String(fileName + "\\" + fileList[i].getName());

Thread t = new Thread()


{
public void run()
{
fillTree(tmpDmtn, newFileName);
}
};
if(t == null)
{
System.out.println("no more thread allowed " + newFileName);
return;
}
t.start();
}
}

void doMouseClicked(MouseEvent event)


{
TreePath tp = tree.getPathForLocation(event.getX(), event.getY());
if(tp == null)
return;

String s = tp.toString();
s = s.replace("[", "");
s = s.replace("]", "");
s = s.replace(", ", "\\");
jtf.setText(s);
showFiles(s);

void showFiles(String fileName)


{
File tmp = new File(fileName);
data = new String[][]{{"", "", "", ""}};
remove(jspTable);
jtb = new JTable(data, colHeads);
jspTable = new JScrollPane(jtb);
setVisible(false);
add(jspTable, BorderLayout.CENTER);
setVisible(true);

if(!tmp.exists()) return;
if(!tmp.isDirectory()) return;

File[] fileList = tmp.listFiles();


int fileCounter = 0;
data = new String[fileList.length][4];
for(int i = 0; i < fileList.length; i++)
{
if(fileList[i].isDirectory())
continue;

data[fileCounter][0] = new String(fileList[i].getName());


data[fileCounter][1] = new String(fileList[i].length() + "");
data[fileCounter][2] = new String(!fileList[i].canWrite() + "");
data[fileCounter][3] = new String(fileList[i].isHidden() + "");
fileCounter++;
}

String datatmp[][] = new String[fileCounter][4];

for(int i = 0; i < fileCounter; i++)


datatmp[i] = data[i];

data = datatmp;
remove(jspTable);
jtb = new JTable(data, colHeads);
jspTable = new JScrollPane(jtb);
setVisible(false);
add(jspTable, BorderLayout.CENTER);
setVisible(true);
}
}

class FolderExplorerDemo extends JFrame


{
FolderExplorerDemo(String path)
{
super("Coding Ninja Folder Exploder");
add(new FolderExplorer(path), "Center");
setDefaultCloseOperation(EXIT_ON_CLOSE);
setSize(500,500);
setVisible(true);
}

public static void main(String[] args)


{
new FolderExplorerDemo(".");
}
}
❖ Output:-

Conclusion:-
In this blog, we learned about Folder Explorer in Java, how it works, and understood it with the help of an
example. We also implemented the logic to develop a Folder Explorer in Java using java swing and awt.

5.0 Actual Resources Used:


Sr
Name of Resource/Material Specification Qty. Remarks
No
1 Hardware Resource Intel i3,2GB RAM 1 -
2 Software Resource Turbo C/C++ 1 -
3 Any Other Resource Internet 1 -

Name & Signature of Course Teacher


(Prof. : R.C.Mahajan)
Annexure – III
Micro Project Evaluation Sheet
Name of Student: Tanishka Pramod Patil Enrollment No: 2111670150
Name of Program: Computer Engineering Semester: V
Course Title: Advanced Java Programming Course Code: 22517
Title of Micro Project: Folder Explorer

Course Outcomes Achieved:


1. Develop programs using GUI Framework (AWT and Swing).
2. Handle events of AWT and Swings Components.
3. Develop programs to handle events in Java Programming.
4. Develop Java programs using networking concepts.
5. Develop programs using Database.
6. Develop programs using Servlets

Poor Average Good Excellent


Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Targetas per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4Marks)
7 Presentation
8 Viva

(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)

Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)


…………………………………..……………………………………………………………………………

Name &Designation of Course Teacher


(Prof.R.C.Mahajan)
Annexure – III
Micro Project Evaluation Sheet

Name of Student: Snehal Aambadas Zurde Enrollment No: 2111670161


Name of Program: Computer Engineering Semester: V
Course Title: Advanced Java Programming Course Code: 22517
Title of Micro Project: Folder Explorer

Course Outcomes Achieved:


1. Develop programs using GUI Framework (AWT and Swing).
2. Handle events of AWT and Swings Components.
3. Develop programs to handle events in Java Programming.
4. Develop Java programs using networking concepts.
5. Develop programs using Database.
6. Develop programs using Servlets

Poor Average Good Excellent


Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Targetas per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4Marks)
7 Presentation
8 Viva

(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)

Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)


…………………………………..……………………………………………………………………………

Name &Designation of Course Teacher


(Prof.R.C.Mahajan)
Annexure – III

Micro Project Evaluation Sheet


Name of Student: Pranjal Bhimrao Salve Enrollment No: 2111670135
Name of Program: Information Technology Semester: V
Course Title: Advanced Java Programming Course Code: 22517
Title of Micro Project: Folder Explorer

Course Outcomes Achieved:


1. Develop programs using GUI Framework (AWT and Swing).
2. Handle events of AWT and Swings Components.
3. Develop programs to handle events in Java Programming.
4. Develop Java programs using networking concepts.
5. Develop programs using Database.
6. Develop programs using Servlets

Poor Average Good Excellent


Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Targetas per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4Marks)
7 Presentation
8 Viva

(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)

Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)


…………………………………..……………………………………………………………………………

Name &Designation of Course Teacher


(Prof.R.C.Mahajan)
Annexure – III

Micro Project Evaluation Sheet


Name of Student: Arpita Kailash Lengare Enrollment No: 2111670138
Name of Program: Computer Engineering Semester: V
Course Title: Advanced Java Programming Course Code: 22517
Title of Micro Project: Folder Explorer

Course Outcomes Achieved:


1. Develop programs using GUI Framework (AWT and Swing).
2. Handle events of AWT and Swings Components.
3. Develop programs to handle events in Java Programming.
4. Develop Java programs using networking concepts.
5. Develop programs using Database.
6. Develop programs using Servlets

Poor Average Good Excellent


Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Targetas per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4Marks)
7 Presentation
8 Viva

(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)

Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)


…………………………………..……………………………………………………………………………

Name &Designation of Course Teacher


(Prof.R.C.Mahajan)

You might also like