Skip to main content

Applet sample code problem

2 replies [Last post]
Joined: 2008-08-24

In the Java Tutorial lesson A
Simple Network Client Applet, the applet source
code doesn't compile for me.
Errors as follows: package org.jdesktop.swingworker does not exist
org.jdesktop.swingworker.SwingWorker<String, String> {
^ method does not override or implement a method from
a supertype
^ cannot find symbol
symbol : method get()
location: class QuoteClientApplet.QuoteGetter
String s = get();
^ cannot find symbol
symbol : method execute()
location: class QuoteClientApplet.QuoteGetter
4 errors
Has anyone else had any difficulty with this one?

Message was edited by: jhipp117

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2009-08-14

ya m having the same problem..have you got the solution then please tell

Joined: 2004-11-02

Here is the notice within the source code:
* Java(TM) SE 6 version.
* SwingWorker can be downloaded at:
* SwingWorker is included in Java(TM) SE 6.

And it should be the answer you need.