[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: How do I build an applet with Eclipse ?

Michael Pliam wrote:
Hi,

I have been working with Eclipse for several weeks now. I have sucessfully built the basic tutorials, and have downloaded and built JFace/SWT simple applications. I have previously embedded applets in my server web pages using html. But I cannot figure out how to build an applet using Eclipse. Online help is either of no value or to convoluted for me to thread my way through.

This should be a fairly straightforward matter, given that Java is most proud of its applet acheivement. Can anyone please point me to an online tutorial that does more than simply provide applet coding. I need to know EXACTLY how to proceed from scratch using Eclipse.

First, if you think Java's most "proud" achievement is applets then you've been out of touch with the Java community for about 8 years or more.
Anyway, you can create an applet by invoking File > New > Class and then selecting Applet as the Superclass. That is the Eclipse-specific part.
As for examples of applet programming in general, I'm sure Google can find all the tutorials and examples you could possibly consume.


BTW, since you're bound to ask later, you can easily test your applet in Eclipse by right-clicking on the Java file ad choosing "Run as..."

HTH,
	Eric