Skip to content

Advanced Task Manager is a Windows desktop application built using Java Swing, designed to provide users with a lightweight and efficient way to monitor and manage system processes. It displays real-time process information such as PID, process name, CPU usage, and memory consumption, allowing users to quickly identify resource-heavy tasks.

Notifications You must be signed in to change notification settings

himakshi-08/OS-Task-Manager-using-Java-Swing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Advanced Task Manager (Java Desktop Application)

This project is a simple desktop-based Task Manager tool created using Java Swing.
It allows users to view running processes, check CPU and memory usage, search for specific processes, refresh the list, and terminate processes directly from the interface.


πŸš€ Features

βœ” View Running Processes

Displays:

  • PID
  • Process Name
  • CPU Usage (%)
  • Memory Usage (MB)

πŸ” Search Function

  • Search using process name or PID.
  • Filters the table to show only matching processes.

❌ Kill Process

  • Select any process in the table and click Kill Process to terminate it.
  • Uses the taskkill command internally.

πŸ”„ Refresh

  • Reloads the complete list of running processes.

🧹 Clear Search

  • Clears the search box.
  • Reloads the full process list automatically.

πŸ›  Technologies Used

  • Java (JDK 8 or above)
  • Java Swing (GUI)
  • PowerShell Commands (for fetching process details)
  • JTable + DefaultTableModel (for displaying data)

πŸ“₯ How It Works

The application internally runs the following PowerShell command: Get-Process | Select-Object Name,Id,CPU,WorkingSet

It extracts:

  • Name β†’ Process Name
  • Id β†’ PID
  • CPU β†’ CPU usage
  • WorkingSet β†’ Memory usage (converted from bytes β†’ MB)

These values are formatted and displayed in a table.


β–Ά How to Run the Application

  1. Install Java 8+ on your system.

  2. Save the project file:

  3. Open a terminal in the same directory and run:

javac TaskManagerTool.java
java TaskManagerTool

About

Advanced Task Manager is a Windows desktop application built using Java Swing, designed to provide users with a lightweight and efficient way to monitor and manage system processes. It displays real-time process information such as PID, process name, CPU usage, and memory consumption, allowing users to quickly identify resource-heavy tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages