The process for running a Console UI application differs
slightly depending on the mode you are running in.
For information on the different modes available for Console UI
applications, see Console UI modes.
Running in Swing or Curses mode
Running
in Swing or Curses mode is no different from running any EGL application
generated to Java™:
- Save all changed files and generate the project.
- In your EGL project, expand the Java Resources folder
and find the Java program to
which your program part was generated. The Java file has the same name as your program
part, but with a .java extension.
- Right-click the program file and then click .
Running in RCP mode
To run a Console UI
program in rich client platform (RCP) mode, the Console UI program
must be in an EGL plug-in project. See Creating an EGL plug-in project.
Running a Console
UI program in RCP mode is different from running other types of EGL
programs because you run the application from the EGL file, not the Java file:
- Save all changed files and generate the project.
- In your EGL project, right-click the file that contains the Console
UI program part and then click Run As RCP.
The program opens in a new window. In this window, you can use the
enhanced GUI features of the workbench, including using the mouse
to select fields, and copying and pasting text between fields.