A Java applet is a small program that runs in a restricted environment that is managed by your browser.