Ragazzi come faccio a far girare il mio Thread all'infinito ? Premetto che ho già implementato l'interfaccia runnable, la mia classe si chiama Deamon ed è così strutturata:
Spero che qualcuno riesca ad aiutarmi ... graziecodice:public class Deamon extends TimerTask implements Runnable{ public void metodo(...){ ..... } public void run(){ OPERAZIONI CHE IL THREAD DEVE FARE } public static void main(String args[]){ VUOTO (FORSE DEVO METTERE QUALCOSA QUI? ) } }