Packaging, unloading, and analyzing code : Introduction to packaging : Packaging guidelines : Example: specifying launch code

Example: specifying launch code
Before beginning the packaging process, you must specify how to launch the stand-alone program which is the result of the packaging process.
This example uses the application is DevelopChooser, which you created when completing the steps beginning in Example: Creating the application DevelopChooser.
Implementing the launching method
You can implement the methods in any order. This example begins with run, a public class method of DevelopChooser that helps define the interface. To implement run, do the following:
1.
In the Transcript, select Manage Applications from the Tools menu to open an Application Manager.
2.
Select DevelopChooser.
3.
4.
5.
From the Categories menu, select Add. A window opens, requesting a name for the category.
6.
Type Run, then select OK.
7.
main
"Public - open the application launcher."
Chooser new open.
8.
In the Application Browser, version the DevelopChooser class and DevelopChooser application.