Creating the application structure

Database application development is a feature of JBuilder Professional and Enterprise. Distributed application development is a feature of JBuilder Enterprise.

The first step when creating an application in JBuilder is to set up the framework for the application. You can use JBuilder's visual design tools to quickly create the application structure and, in future steps of this tutorial, to read data from the text file and to develop the user interface.

To create the application structure,

  1. Choose File|Close All from the JBuilder menu to close any existing projects.
  2. Choose File|New Project to start the Project wizard.
  3. Modify the project name to be TextDataFile.jpr.
  4. Click Next and accept the default settings for the project.
  5. Click Next and, optionally, enter information for a title (TextDataFile tutorial), your name, your company, and a project description (This tutorial...).
  6. Click Finish.

Now that the basic project structure is created, open the Application wizard to create a new Java application shell which contains a Frame that will be the UI container.

  1. Select File|New from the menu. Double-click the Application icon. The first page of the Application wizard displays.
  2. Accept the defaults.
  3. Click Next.
  4. Enter TextDataFile Tutorial in the Title field.
  5. Click Finish.
  6. Choose File|Save All.
The Application1.java and Frame1.java files are added to the project and are displayed in the project pane (top left pane.) Frame1.java is opened by default in the content pane with its Source tab selected, and its structure displayed in the structure pane (bottom left pane.)


Tutorial: creating a database application from a text file Adding DataExpress components to your application