Getting Started : 3. Getting Started Using OpenROAD : Simple Client Applications : How You Can Create Your First Application: "Hello, World!"
 
Share this page                  
How You Can Create Your First Application: "Hello, World!"
To understand the ease and simplicity of creating an application using OpenROAD, you can create a simple application that opens a user frame displaying the text, “Hello, World!”
To create an application in OpenROAD Workbench, you must be connected to a database. For more information, see Connect to a Database Through a Connection Profile.
Creating a simple application follows these basic steps:
1. Create the application.
2. Create a user frame with necessary controls in the application.
3. Run the frame.
To create an application
1. Click the Develop tab.
If you are not already connected to a database, OpenROAD connects to the connection profile that was selected on the Connect tab and then displays the Develop tab.
2. Click the Applications portlet header bar to make the portlet active.
3. Click File, New, Application.
The Create Application dialog appears.
4. Enter a name for your application: HelloWorld.
Completing the remaining fields is optional.
For more information about the Create Application dialog, see the Workbench User Guide.
5. Click Create.
The application is created and listed in the Applications portlet.
To create a frame in your application
1. Select the HelloWorld application you just created in the Applications portlet of the Develop tab.
2. Click the Components portlet header bar to make the portlet active.
3. Click File, New, User Frame.
The Create User Frame dialog appears.
For more information about the Create User Frame dialog, see the Workbench User Guide.
4. Enter a name for the user frame.
Make no other changes to the dialog.
5. Click Create.
The User Frame appears, with the Field Palette, Property Inspector, and floating menu bar.
6. Click the Free Trim tool in the field palette:
The cursor changes to an I-bar.
7. Click in the user frame to place the free trim field.
8. Type: Hello, World!
9. Save the frame by clicking File, Save on the floating menu bar.
To run the frame
With the user frame selected, click Debug, Go on the floating menu bar.
The user frame appears, displaying the text, “Hello, World!”