Tag: java applet gui tutorial

Java Button Applet

May 13, 2011 · 1 min read
The GUI components can be placed in a frame or an applet (as both are containers). We have seen many programs with frame and now let us write an applet with GUI, say button. While developing applet GUI, the class should extend [Applet](http://way2java.com/applets/applets-vs-applications/) instead of Frame. The constructor is replaced with **[init()](http://way2java.com/applets/life-cycle-of-applet/)** method.