Getting Started with Visual J++ 6.0
Microsoft Visual J++ is an integrated Windows-hosted development tool for Java programming. Visual J++ allows you to create, modify, build, run, debug, and package an application, all within a single environment.
Visual J++ 6.0 introduces the Windows Foundation Classes for Java (WFC). This new application framework accesses the Microsoft Windows API, enabling you to write full-featured Windows applications with the Java programming language. WFC also wraps the Dynamic HTML object model implemented in Internet Explorer 4.0, which allows you to dynamically manipulate HTML on both the client and the server.
Creating a WFC Application
When you create a Windows application with WFC, your project contains a form that is the main window of the application. You can then add WFC controls to the form to design the graphical user interface.
For a step-by-step example that shows how to create, build, and run a simple WFC application, see https://msdn.microsoft.com/en-us/library/aa265247(v=vs.60).aspx .
For information about other types of Visual J++ projects, see https://msdn.microsoft.com/en-us/library/aa266241(v=vs.60).aspx . For information about importing a project from Visual J++ 1.1, see https://msdn.microsoft.com/en-us/library/aa265381(v=vs.60).aspx .
Modifying Your Application
Once you have created an application, you can:
Use the https://msdn.microsoft.com/en-us/library/aa242903(v=vs.60).aspx to modify your form. The RAD features of the Forms Designer allow you to quickly drop controls onto your form, configure their properties, and add event handlers.
Use https://msdn.microsoft.com/en-us/library/aa265223(v=vs.60).aspx and the https://msdn.microsoft.com/en-us/library/aa265387(v=vs.60).aspx to modify your code. Class Outline provides a dynamic view of the contents and structure of your Java classes, and can assist you in adding methods and member variables. The Text editor supports IntelliSense features, such as Statement Completion, to help you write code.
- Use the WFC data controls and components to https://msdn.microsoft.com/en-us/library/aa242627(v=vs.60).aspx from your form. WFC uses ADO to retrieve data and perform simple data binding.
Building and Running Your Application
When you build your application, any compilation errors appear in the https://msdn.microsoft.com/en-us/library/aa239204(v=vs.60).aspx . After you correct these errors, you can run your application from within the development environment.
Debugging Your Application
Although your application may compile without errors, it may not run as expected. The process of finding and fixing logic and run-time errors is known as debugging. Using the https://msdn.microsoft.com/en-us/library/aa242886(v=vs.60).aspx , you can set breakpoints to step through your code one statement at a time and view the values of variables and properties.
Other features of the integrated debugger include multiprocess debugging, remote debugging, and integration between Java and script.
Packaging Your Application
When you have finished modifying and debugging your application, you can https://msdn.microsoft.com/en-us/library/aa265470(v=vs.60).aspx it to into an .exe or .cab file and deploy it to the Web.