Jam Digital (Digital Clock)

Selain menggunakan methode Runnable, kita juga dapat menggunakan methode lain untuk menciptakan sebuah Thread. Methode tersebut adalah Timer, yang terletak pada kelas javax.swing.Timer. Kelebihan dari methode ini adalah kita tidak perlu mengimplementasikan ke dalam kelas utama dan prosesnya yang tidak terganggu oleh proses-proses yang lainnya

Dowload Article

Translate to English
In addition to using the methode Runnable, we can also use other methode to create a Thread. Methode is the timer, which is located on the class javax.swing.Timer. The advantages of this methode is we do not need to implement in the main class and the process is not disrupted by the processes of other

No comments:

Post a Comment