Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!postnews.google.com!t38g2000prj.googlegroups.com!not-for-mail From: jayalath.tharaka@yahoo.com Newsgroups: comp.lang.java.programmer Subject: Error in Applets Date: Sun, 24 Jul 2011 21:50:32 -0700 (PDT) Organization: http://groups.google.com Lines: 19 Message-ID: <58f6eee1-4d57-4dca-99f6-ea95b55229df@t38g2000prj.googlegroups.com> NNTP-Posting-Host: 124.43.202.19 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1311569432 30707 127.0.0.1 (25 Jul 2011 04:50:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 25 Jul 2011 04:50:32 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t38g2000prj.googlegroups.com; posting-host=124.43.202.19; posting-account=39porwoAAACsASCRSfATpA3PhohxqEaz User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: UHALERCNK X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.9.168 Version/11.50,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6522 I downloaded the example applet on this page: http://download.oracle.com/javase/tutorial/uiswing/components/applet.html I tried to compile TumbleItem.java I got the following: symbol : class SwingWorker location: package javax.swing import javax.swing.SwingWorker; I have the latest installed java update for MAC so IDK whats going on. Thats what my friend got but I got a runtime following error - java.lang.NoSuchMethodError: main Exception in thread "main" Process completed. all are updated by the latest versions and I am using Windows XP.