Introduction to Database Wizard for Java™

Database Wizard for Java is the easiest way to quickly create Java applets that connect to ODBC data sources. Simply follow the 4 steps the wizard prompts, and the complete applet source code will be automatically generated for you.


Basic Installation Procedures

Database Wizard for Java automatically installs onto your system when Visual J++ setup is run. To successfully run the wizard you will also need Microsoft database components installed on your system. If you do not have database components installed, rerun the Visual J++ setup and select the appropriate database options from within a “Custom” installation.


Step 1 of 4: Choosing a Database

Step 1 allows you to specify the data source (ex. Microsoft Access database, or .MDB file) you want to connect to. To search for your data source, click the Browse button. Checking the read-only check box indicates that you want to open the database in read-only mode and that TextFields should be disabled to prevent attempted changes to data.


Step 2 of 4: Choosing a table

This step displays a list of tables that are available in the database you have chosen. Pick the tables you want to use from this list.


Step 3 of 4: Selecting Fields to Use

This step lets you choose the fields you want to include in your Java applet. For each field that you select, your Java applet will have a label giving the fields name and a TextField that receives the fields value for the current record. When you press the navigation buttons (which will also be created) in the applet, each TextField will be updated to the appropriate value for the new record. Clicking Select All will select all fields in the list. Clicking Select None will unselect any selected fields.


Step 4 of 4: Source Code Comments

In this step, you choose the level of commenting you want in your generated applet source code. When you are finished, click Finish to generate your applet.

There are three levels of comments:

•	Yes please, I would like comments

Choosing this option will produce an applet with source comments.

•	Include “TODO” comments

Check this box if you want “TODO” comments to be included anywhere there are tasks you might want to perform in the future.

•	No thanks, I don’t want comments

No comments will be added to your applet.