A modern, lightweight file explorer application built with Java Swing and Maven. It provides a clean user interface for managing files and directories with ease.
- Simple Navigation: Double-click folders to explore, use the "Back" button to return.
- File Operations: Create new files and folders, delete items.
- Toolbar: Quick access to common actions (Refresh, New File, New Folder, Delete).
- Breadcrumbs: Clear address bar showing the current path.
- Status Bar: Instant feedback on your actions.
- Welcome Guide: Helpful instructions for first-time users.
- Logging: integrated logging for debugging.
- Language: Java 21+
- Build Tool: Maven
- UI Framework: Java Swing
- Logging: SLF4J + Logback
The project follows a clean separation of concerns:
com.fileexplorer.ui: UI Layer - Handles all graphical components and user interactions (FileExplorerUI.java).com.fileexplorer.service: Service Layer - Handles file system operations (FileService.java).com.fileexplorer.Main: Entry Point - Initializes the application.
- Java JDK 21 or later
- Maven 3.6+
-
Clean and Build:
mvn clean package
-
Run the Application:
java -jar target/FileExplorer-1.0-SNAPSHOT.jar
Alternatively, during development:
mvn compile exec:java -Dexec.mainClass="com.fileexplorer.Main"
βββ src/
β βββ main/
β β βββ java/com/fileexplorer/ # Source code
β β βββ resources/ # Config files (logback.xml)
β βββ test/ # Unit tests
βββ pom.xml # Maven build configuration
βββ README.md # Documentation
This project is licensed under the MIT License.