Skip to content

Instantly share code, notes, and snippets.

@hexvalid
Created January 2, 2016 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hexvalid/f7120b1f3ceb3b5252bd to your computer and use it in GitHub Desktop.
Save hexvalid/f7120b1f3ceb3b5252bd to your computer and use it in GitHub Desktop.
JAVAFX: Arkaplan İşi
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