Applet Tutorial: A Simple Text Editor

This is a simple example of how to run an application from within an applet. By simply substituting an instance of diva.gui.AppletContext for the ApplicationContext in the constructor for our simple text editor, it runs inside an applet. The appropriate code is: public class AppletTutorial extends AppletContext { public AppletTutorial() { new ApplicationTutorial(this); } } This roughly corresponds to the main() function we had before.

</COMMENT> <I>If you were able to run applets, you would have a demo here.</I>

Last Updated: $Date: 2006/05/11 16:32:43 $