Code:
extends java.Applet.Applet
// or
extends javax.swing.JApplet // preferred on swing
There is nothing special in eclipse. Simply extend the relevant class.
BTW, this link may help with applets if you are not familiar with using them:
http://docs.oracle.com/javase/tutori...ts/applet.html