On May 15, 12:07*pm, markspace <nos...@nowhere.com> wrote:
> jason wrote:
> > just downloaded swing worker.
> > how do i go about adding this? if this is very dumb and is easily
> > solved with a link, please let me know. if i could find it by googling
> > i think i would have already as i tried for a bit.
>
> This is a little on the dumb side. *Do you know what the Java API is?
> It's the stuff that comes with both the JRE (runtime) and the JDK
> (development kit). *If you see it in Sun's basic documentation, then you
> already have it.
>
> Therefore, exactly what problem are you having? *As always please
> provide an SSCCE.
okay, to answer all of your questions at once:
i am trying to run this code exactly:
http://java.sun.com/docs/books/tutor...y/Flipper.java
when i run it using the launch button here:
http://java.sun.com/docs/books/tutor...y/interim.html
it runs perfectly.
when i bring it into net beans (i am running verison 6.8:
http://netbeans.org/downloads/index.html i am using the bundle with
all possible technologies). i am running Java JDK 1.5
now, when i download and unzip this file it is all present in my
download file (running on a mac).
if i bring this code into my netbeans developer i get the following
error:
import javax.swing.SwingWorker; //line with error
error:
cannot find symbol
symbol: class swing worker
location: package javax.swing
i am assuming this is because my netbeans is not acknowledging the
file. and i agree, i haven't bridged this in any way.
i agree it is obvious i am not too sure what i am talking about. i am
honestly trying here, and if there is anything i can do to help you
help me try and be patient.
thanks in advance.