Some important methos in Applets »



Applet methods: public void init () public void start () public void stop () public void destroy () public void paint (Graphics) Also: public void repaint() public void update (Graphics) public void showStatus(String) public String getParameter(String) repaint( ) method: Call repaint( ) when you have changed something and want your changes to show up on [...]

How to use Applets »



How to use Applets 1)–>An applet is a Panel that allows interaction with a Java program A applet is typically embedded in a Web page and can be run from a browser You need special HTML in the Web page to tell the browser about the applet For security reasons, applets run in a sandbox: [...]