Created
January 2, 2016 20:54
-
-
Save hexvalid/f7120b1f3ceb3b5252bd to your computer and use it in GitHub Desktop.
JAVAFX: Arkaplan İşi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task<Integer> task = new Task<Integer>() { | |
@Override | |
protected Integer call() { | |
//ARKAPLAN İŞİNİ BURADA YAPACAK | |
return 1; | |
} | |
}; | |
Thread tsk = new Thread(task, "İşlem Adı"); | |
tsk.setDaemon(true); | |
tsk.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment