Writing Code with Statement Completion

   

Visual J++'s Statement Completion saves you time by doing the reference look-up work for you. Statement Completion automatically displays member lists and parameter information that gives you a list of classes, members, and method signatures, that are relevant within the context of the current .java source file.

To introduce you to the Statement Completion features, this scenario will show you how to build statement(s) with the java.lang.String and java.lang.System classes. After you've built your project and run the application, the program will display a message in the console window provided by JVIEW. This scenario includes the following procedures:

Note   This scenario was created with the Visual J++ Console Application template. You may complete the following procedures with any .java source code file in any Visual J++ project. If you would like to create a console application to complete this scenario, please see Creating a Console Application and follow the steps to create and open a project before proceeding.