From: Hole on 1 Dec 2009 11:49 On Nov 27, 9:05 pm, markspace <nos...(a)nowhere.com> wrote: > John B. Matthews wrote: > >> class SchedulerTask extends SwingWorker<Integer, Void> > > I can't see where you define Void, > > As Lew mentioned, it's part of the java.lang package. > > A trick is to define SwingWorker<Void,Void> and then return "null" from > doInBackground(): > Thanks a lot for your contributes and suggestions, guys! I have to go deep into (perhaps tonight) but they seem really useful. I'll take a look to Java Concurrency in Practice too...I think that concurrency is a key point in professional programming and I must have a good reference, I guess... Many thanks again..I'll post my working code revisited when done! cheers! -- DN
First
|
Prev
|
Pages: 1 2 3 Prev: BUY CHEAP TEXTBOOKS 24/7 Next: How many illegal character for jdom? |