Building and Running a Windows Application

Thanks for using this pre-release version of Visual J++.

To compile a basic Windows-based application

To run the application with an application viewer

  1. On the Debug menu, click Start.

    The Settings dialog box appears the first time you run any project. The name of your applicationÆs class file appears in the When project runs, load text box.

Tip   To modify the information in the Settings dialog box after your project runs once, select Settings on the Project menu. Click the Launch tab and enter your changes.

  1. Click OK to accept the values in the Settings dialog box.

    Your application runs in WJVIEW, Visual J++Æs applet and application viewer.

Note   The output of this program is two message boxes, one to display the results of the GetProfileString() Windows API; the other displays the results of the GetEnvironmentVariable() API. Usually they will appear, one after the other, in front of the development environment. However, occasionally, they will be minimized on the operating systemÆs task bar.