haha... memang g ada method start-nya.

saya juga udah coba.

btw yang di

http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html

itu beda classnya sama SwingWorkernya javax.swing.SwingWorker.

kalo dilihat di source codenya dibilang (
http://java.sun.com/products/jfc/tsc/articles/threads/src/SwingWorker.java)
:


/**
 * This is the 3rd version of SwingWorker (also known as
 * SwingWorker 3), an abstract class that you subclass to
 * perform GUI-related work in a dedicated thread.  For
 * instructions on using this class, see:
 *
 * http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html
 *
 * Note that the API changed slightly in the 3rd version:
 * You must now invoke start() on the SwingWorker after
 * creating it.
 */


lagian juga dibilang :

"Because SwingWorker isn't part of a release, you need to download and
compile its source code to be able to use it"

btw, mirip ama salah satu class di .net nih. Tapi kalo .net namanya *
BackgroundWorker*. Ini Java ato .net yang ikut2an ya :p













_
2010/4/15 Niksen Harjanto <[email protected]>

>
>  [Attachment(s) <#128005b2cfb5b433_TopText> from Niksen Harjanto included
> below]
>
> Bro Ifnu...
> pengennya pake method start(), tapi apa daya... ga ada method
> start()-nya...
> waktu pencet ctrl-space ga ada start().
>
> screen capture saya lampirkan....
>
> On 4/13/10, Ifnu bima <[email protected] <ifnubima%40gmail.com>> wrote:
> >> swingWorker.run();
> >
> > Kok masih kekeuh pake run sih? bukanya udah dibilangin untuk pake start ?
> >
> > http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html
> >
> > --
> >
> > regards
> >
> >
> > ------------------------------------
> >
> > Kalau mau keluar dari mailing list ini, caranya kirim sebuah email ke
> > [email protected]<jug-indonesia-unsubscribe%40yahoogroups.com>
> .
> >
> > Jangan lupa, website JUG Indonesia adalah http://www.jug.or.id
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>  
>



-- 
Best Regards

Mirza Akhena

Kirim email ke