Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #6565
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Error in Applets |
| Date | 2011-07-26 02:40 -0400 |
| Organization | The Wasteland |
| Message-ID | <nospam-AC5729.02402226072011@news.aioe.org> (permalink) |
| References | <58f6eee1-4d57-4dca-99f6-ea95b55229df@t38g2000prj.googlegroups.com> |
In article <58f6eee1-4d57-4dca-99f6-ea95b55229df@t38g2000prj.googlegroups.com>, jayalath.tharaka@yahoo.com wrote: > 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. If you download the full example, you'll find TumbleItem.html, which you should open in your browser after compiling TumbleItem.java. <http://download.oracle.com/javase/tutorial/uiswing/examples/components/index.html#TumbleItem> -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar
Error in Applets jayalath.tharaka@yahoo.com - 2011-07-24 21:50 -0700 Re: Error in Applets Roedy Green <see_website@mindprod.com.invalid> - 2011-07-25 00:45 -0700 Re: Error in Applets "John B. Matthews" <nospam@nospam.invalid> - 2011-07-26 02:40 -0400
csiph-web