Converting Java Applet to Application
Applets are programs which run on web browser and Application means the stand alone program in a computer. In Java we can convert Applets to Application and Application to Applet. Using this idea we can make any program run as either applet or as an application. Following are the steps for converting applets to Application.
Step 1:
Change init() method's name to the constructor. Java Applets contains init() method which is used for initializing the applet, this method should be changed to constructor for that class.
- Read more about Converting Java Applet to Application
- 2 comments
- Log in or register to post comments
- 1454 views