Create Options
When you press the CREATE button, you will be asked for a file name to use during this creation. You can change the filename and create a several GUI classes to edit the same table. One of the main reasons for this is to allow you to create a new file that does NOT overwrite existing code that may have been manually tweaked. The new code with have new columns or components that handle columns that are changed. The old code will have the manual modifications you have made. The new code will have either **NEW NEW or **CHANGED CHANGE beside or around every reference to a column that is marked NEW or CHANGED by the CHECK option. This makes it easy to merge the new or changed code into existing code.
Note that you can choose to create Java code or HTML code here. The HTML code is used to demonstrate Swing.
At the end of the create process you will be given the option to view the newly created code.
You will also be given an option to overwrite the <application>BuildLayout.java file. Since you may have manually tweaked this file you may not want to overwrite it. If you do not overwrite the file, the new row layout java code will be inserted into the file as comments. You can merge the new or changed fields into your tweaked code manually.
You must compile the new code before the changes will become active.
One set of manual modification that you usually have to make involves the rowlayout manager being used by JGuiGen. The components are laid out down a Scrolling JPanel one component per row. There are instructions in the code for modifying the code to put several components on one row (for example firstName, middleName, and lastName) or to make a component wider or to change the Prompt that is on the screen. This usually does not take long once you understand the layout manager.