An open API service indexing awesome lists of open source software.

https://github.com/msh-trojan/java_21_trace_example_1

A programm demonstrating the multi-tasking in java using the Thread class.
https://github.com/msh-trojan/java_21_trace_example_1

java multitasking sleep threading

Last synced: 11 months ago
JSON representation

A programm demonstrating the multi-tasking in java using the Thread class.

Awesome Lists containing this project

README

          

# Java_21_Trace_Example_1

multi-tasking to boost performance

We have two approaches to accomplish it:
1- Using Thread class
public class Thread extends Object { … }
2- Using Runnable interface
public interface Runnable { public void run();}
Runnable is required for multithreading in JFrames