Java program that shows tasks running in task manager