Ecco come creare un background task con Netbeans - senza eventi:
public Task myMethod() {
Task mT = new myTask(DesktopApplication.getApplication());
ApplicationContext appC = Application.getInstance().getContext();
TaskMonitor tM = appC.getTaskMonitor();
TaskService tS = appC.getTaskService();
tS.execute(mT);
tM.setForegroundTask(mT);
return mT;
}
Caso Epstein, arrestato anche l'ex ministro e ambasciatore britannico negli
Usa Peter Mandelson
-
Caso Epstein, arrestato anche l'ex ministro e ambasciatore britannico negli
Usa Peter Mandelson
Canali: Arresti, USA
5 ore fa


Nessun commento:
Posta un commento