Generated Application Features
| [Previous] [Main] [Next] |
Generated Application Features - Details
· | Menu Option - Exit - The system will notify you if you are about to lose changes to the current record and then will close the screen. Current look and feel information and the size and location of the panel are saved with Java's user preferences system. When the panel is reopened it starts with these defaults. The MAIN method in the class shows how to insure that all of the memory used by the JPanel is released with the user closes the window.
|
· | Menu Option - Delete - You can configure this option to really removed the record from the table or you can indicate a field that will be toggled to indicate that the record is 'inactive."
|
· | Menu Option - Add - empties all visible components and prepares the screen to enter data for a new row in the table. When you press this button the system will notify you if you are about to lose data that you have changed and allow you to save that data. Two other checks are made. One checks forthat aill fields marked required are filled in. This section can also include more complext cross-components tests that you hand code. For example if the persons says they NO to "own a car?", the number of doors their car has should be missing or zero. The developer will need to add these additional tests that the data must pass. The Save button will update existing rows and insert new rows. The button is normally a "Save" button. After you press the Add button, the data is cleared from the screen and the "Save" button becomes an Add button. After you add a row, the button reverts to being a Save button.
|
|
· | Menu Option - Find - A relatively simple query maker screen is included. Users click on drop down menus and fill in information and the system creates a SQL WHERE clause. This WHERE clause is used to populate the JTable with selected records. You can save these generated WHERE cluases and you can also launch a report from this menu.
|
· | Menu Option - Extra - This option brings up a secondary screen with several dummy options on it. You can modify the class called by this menu option to carry out special tasks relevant to your needs.
|
· | Menu Option- Save - checks for required fields or conditions and then saves the data. If you have identified a timestamp field to update every time a record is changed, the system will automatically check to see if the tamestamp changed since you started editing the row. It will abort the update if another user has entered changes that you are about to overwrite. The system will notify you if required fields are missing or if the row you are about to save fails other integrity checks.
|
· | Menu Option - Print - This will print the current screen. It resizes the screen so that it will fit on a standard 8 1/2 x 11 pieces of paper.
|
· | Menu Option - Help - This calls up the Java Help system. There can be one screen (or more) dedicated to each panel created by JGuiGen.
|
· | Optional Menu Option - Replicate - This activates the replication system and updates data with a remote site.
|
· | Menu Option - Select Look and Feel (only available on the popup menu). Your user will see a list of available look and feels and can select one. The system will remember the last look and feel chosen and will start the application with this look and feel when it is next run by this user. One of the look and feels is a special Low Vision / High Contrast look and feel for users who are visually handicapped. Another is a mono look and feel and system look and feel that duplicates your OS default colors.
|
|
· | Menu Option - Dup (only available on the popup menu) - this will create a copy of the current row. The only thing changed will be the id number.
|
|
· | Menu Option - Next (only available on the popup menu) - this will move the scrolling table at the bottom of the screen to the "next" record.
|
|
· | Menu Option - Previous (only available on the popup menu) - this will move the scrolling table at the bottom of the screen to the "previous" record.
|
|
· | Menu Option - Refresh Table (only available on the popup menu) - this will query your data table and put new data into the scrolling list at the bottom of the screen.
|
|
· | Menu Option - Freq Count (only available on the popup menu) - this will show you a small screen that contains a frequency count (with percentages for each value) on the column that was last sorted in the scrolling table. If the column is numeric this table also shows you the mean. You can mark selected values as "missing" and the table will recalculate the percentages and mean ignoring the missing values. This table "remembers" the items you marked as missing when you ask to frequency count the same column later. You can export the frequency count to an Excel spreadsheet and the PC clipboard.
|
|
· | Menu Option - Change Font (only available on the popup menu) - you can select a font and see the screen layout using that font.
|
|
· | Menu Option - Switch Look and Feel (only available on the popup menu) - you can select from sevaral available look-and-feels. Some of them are special to JGuiGen and some are unique to the operating system you are running the application on.
|
|
· | Menu Option - Change Locale (only available on the popup menu) -- you can chose to run the application using a language other than the one your PC defaults to.
|
|
· | Menu Option - A11y (only available on the popup menu) - This menu option has two sub-menu options. One the brings up a magnifying screen (at the right of your main screen) and one that brings up a screen for telling how accessible each visual component is. This screen changes as the mouse moves over different parts of your GUI.
|
|
· | Menu Option - Set Browser and Word Processor path (only available on the popup menu) - This brings up the same options you see when you a JGuiGen application for the first time on a new PC. You select the path and executable file name for your browser and word processor.
|
· | Clicking on any column header sorts the table on that column. Clicking again resorts the table in the opposite direction. This sort is internationalized.
|
· | Users can drag columns to a different order. They can also resize columns by dragging the edges of the column headers. These changes are saved when the screen is exited and reused when the user reopens the screen.
|
· | These column are also used by the report writer. Drag the columns you want to the left side of the screen, set an options filter and tell the report writer how many columns you want to include in the report.
|
· | Clicking on any String or Text field pops up a special viewer so that you can see long text messages.
|
· | Special renders are used for fields like dates, money, and floating point numbers.
|
· | Clicking on a row first checks to see if your user has unsaved changes on the current screen and allows them to save the changes if they wish. Assuming there are no unsaved changes or that the user has decided to abandon those changes, the system will query the table for new data from the row clicked and then will begin to edit that row.
|
· | Changes SAVED will be reflected in the JTable. If a new row is ADDED, the JTable will be refilled. (The Hypersonic SQL database used in JGuiGen samples does not allow the JTable to be updated.)
|
|
· | All of the text, hot keys, tool tips, etc are written to a resource bundle. The system then checks for language and country specific versions based upon the user's default setting.
|
· | The help file system checks to see if a version is available for the country and language of the user before it defaults to the main help file.
|
· | Images and icons check for language and country specific versions.
|
· | Optional titled borders around individual fields on the screen can be used to clarify where information is to be entered. For things like Family Name and Given Name where the default location varies from one language to the next this can be very useful.
|
· | Date, money, number representations, fonts, and character sets use Java's internationalization locale's to display correctly for each language and country.
|
· | A resource bundle file is generated every time you generate a screen. The fields in the screen that need translating are in this resource bundle.
|
· | Assure that a special "testing" row in the table being edited is deleted. By default the testing row_id is 1. This can be overriden in the XML ini file.
|
· | Starts the JGuiGen generated panel that is empty.
|
· | Adds unique data into each component. For example the first JTextField might be "Text 3", and the next one "Text 4" and the next one "Text 5".
|
· | Clicks the ADD button to save the data.
|
· | Restores the components by selecting the row just added and filling the components with the data just saved.
|
· | Checks that each component contains the data that was just put into it. (This insures that all of the data on the screen is saved and recalled correctly.)
|
· | Clicks on the CLEAR button and tests that each component is empty. (This insures that when adding a new row, there is no accidental carry over from the previously edited row.)
|
· | There are more test planned and some issues with JFormattedText fields and JComboBox fields that need to be resolved, but the current test suite covers quite a bit.
|
|