Builder Xcessory 5.0 Users Guide

Tutorial Nine: Creating a Java Applet or Application

 

Tutorial Nine: Creating a Java Applet or Application

In this tutorial, you will create a set of classes that can be run as an applet or an application. (The finished application is shown in Example Java Application .) This tutorial moves along quickly. For more detailed information on creating and customizing objects, see the example, Java Example .

Example Java Application

Tutorial Eight: Creating Classes and Subclasses

 

Tutorial Eight: Creating Classes and Subclasses

In this tutorial, you will create the interface shown in the following figure:

MenuBar with File Menu

A Brief Overview of Classes and Subclasses

A group of widgets that make up a logical component of your user interface can be made into a class. This is a way to use Motif and C++, as described by Douglas A. Young in his book Object-Oriented Programming with C++ and OSF/Motif .

Tutorial Seven: Classes

 

Tutorial Seven: Classes

Using Builder Xcessory, you can group a set of widgets together into a new reusable component. This new component is called a class, and is added to the User Defined Classes group on the Palette.

Once created, a class can be instantiated in the same manner as any other Palette object. A class can be modified at any time and changes to a class will appear in all instances of that class.

Tutorial Six: Compound Strings and Font Lists

 

Tutorial Six: Compound Strings and Font Lists

In this tutorial, you will experiment briefly with Builder Xcessory's major tools for implementing internationalization, the Compound String Editor and the Font List Editor. Review the discussion of these editors in the Builder Xcessory Reference Manual before proceeding with the tutorial.

Clearing the BX display

Clear the Builder Xcessory display by selecting New from the Browser File menu.

Compound Strings

Tutorial Five: Advanced Techniques

 

Tutorial Five: Advanced Techniques

In this example you will experiment with some advanced Builder Xcessory techniques. Topics covered include the following:

· Constraint resources

· Geometry management of the Form widget

· Adding header files

· Customizing the creation routine

· Editing the Main file

· Passing widget IDs between structures

Tutorial Three: Creating a Dialog

 

Tutorial Three: Creating a Dialog

In this tutorial, you will create an interface containing a BulletinBoard and two PushButtons. Clicking one PushButton will exit the application. Clicking the other will cause a dialog to appear. The dialog will consist of a BulletinBoard and a PushButton. Clicking this PushButton will dismiss the dialog.

Clear the Builder Xcessory display by selecting New from the Browser File menu.

Note: This tutorial assumes that you have chosen C as your language.

Creating Objects

Tutorial Two: Simple Objects

 

Tutorial Two: Simple Objects

In this tutorial, you will experiment with the creation of more complex interface objects. You will create a MenuBar with three CascadeButtons, each of which will be associated with a menu. Selecting a given item from one of these menus will execute a program. As part of this exercise, you will incorporate into your new collection the PushButtons that you built in Tutorial One.

Tutorial One: Simple Actions

 

Tutorial One: Simple Actions

In this tutorial, you will create a BulletinBoard with two PushButtons. Clicking one PushButton displays an xterm, while clicking the other exits the application.

Starting Builder Xcessory

Start Builder Xcessory by entering the following command on the command line:

Using the Tutorials

 

Using the Tutorials

Each tutorial demonstrates the use of Builder Xcessory in the construction of an interface. Tutorials do not share interfaces and are designed to stand alone, but we recommend that you do them in the order presented. The later tutorials tend to be more complex, and take for granted procedures described in detail in early tutorials. In general, if you are uncertain about the functionality of Builder Xcessory, review the Builder Xcessory User's Guide and the Builder Xcessory Reference Manual .

Setting Up Tutorial Directories

Pages

Subscribe to Builder Xcessory 5.0 Users Guide