When a web browser loads an applet, it calls the init() method first - this is where one-time initialization happens. The browser then calls start() to begin execution, and may call paint() when the display needs rendering. The main() method is NOT used in applets - that's for standalone applications.