"Folder Explore": A Micro Project Report On
"Folder Explore": A Micro Project Report On
Submitted by
Tanishka Pramod Patil
Snehal Aambadas Zurde
Pranjal Bhimrao Salve
Arpita Kailash Lengare
Affiliated to
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.
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.
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.
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.
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.
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:
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.
❖ 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:-
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");
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);
}
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);
}
fillTree(top, tmp.getPath());
return top;
}
String s = tp.toString();
s = s.replace("[", "");
s = s.replace("]", "");
s = s.replace(", ", "\\");
jtf.setText(s);
showFiles(s);
if(!tmp.exists()) return;
if(!tmp.isDirectory()) return;
data = datatmp;
remove(jspTable);
jtb = new JTable(data, colHeads);
jspTable = new JScrollPane(jtb);
setVisible(false);
add(jspTable, BorderLayout.CENTER);
setVisible(true);
}
}
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.
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)