What is the role of the `init()` method when converting a Java application to an applet?
The `init()` method is called to execute any code that would typically run in the `main()` method of a Java application.
Thatâ€™s partially correct. While `init()` is used for initialization, it does not execute the entire setup of the applet like the `main()` method would in an application.
Can you explain how the `start()` method differs from the `init()` method and what kind of actions are performed in each?