Pop-Up Menu
[Previous] [Main]

Pop-up Menu



When you right click somewhere on the panel of your application a pop-up menu will appear. Here is an example of this menu. You can access the menu through the keyboard by pressing SHIFT-ESC.

jguigen_popup_menu.png

Several of the options here are the same as those at the top of a JGuiGen generated screen.
·Exit  
·Delete  
·Add  
·Print  
·Extra  
·Find  
·Save  
·Help  

Others are only available here and in the manu menu of the JGuiGen.java file used to demo JGuiGen and run the Application Generation System.

·Dup - Duplicate the current row. Only the ID number changes.  
·Next > move the current row to the "next" row in the scrolling table at the bottom of the screen.  
·< Previous - move the current row to the "previous" row in the scrolling table at the bottom of the screen  
·Frequency Count - Frequency count the unique values of the column last sorted on in the scrolling table. This also shows means if the data is numeric.  
·Refresh Table - go out to the SQL table and get a new copy of the data.  
·A11Y - This is a menu of special Accessibility options - tools for helping the handicapped  
·Switch Look and Feel... - change to a different Java Look and Feel  
·Change Locale - Change the language used by JGuiGen  
·Change Font - change the font used by JGuiGen  

Frequency Count

The Frequncy Count Screen looks like this.

jguigen_freq_count.png


You can mark some of the values as "missing" and then click on the Re-calculate key and it will redo the percentages in the "Adjused Percent" column. There is also an adjusted mean if the data is numberic.

If you click on the Write to XLS file, the data is written out in a form that Excel and read it. It is also written to the clipboard so that it can be pasted into other applications.

A11y - Accessability

This option has two suboptions -
·A magnifying glass- this opens a small windows to the right of the main menu. The contents are larger than the contents in the standard window. The contents follow the cursor when it moves in the main window.  
·An A11y Debug Screen - this opens a secondary screen that shows information that blind readers and other devices for the handicapped will see when the mouse moves over a component.  

Look and Feel

This menu shows you the look and feels available through JGuiGen. When you exit the screen the current look and feel is saved and used by JGuiGen applications until it is changed.

The "Special Theme" is in com/halepringle/src. You can edit this theme to match your company look and feel.

The "Native" look and feel is the same look and feel your operating system uses to display its menus and options.

Here is an example of the Frequency Count screen done in the Metal Look and Feel.


jguigen_freq_count_metal.png



Change Font

This menu option pops up a menu showing you fonts that are available on your system. If you change the font, the size and the style (bold, italics, or standard). As soon as you select the font the system saves the font and uses that font for this screen until you change it.

NOTE: When the screen is converted to a new font "on-the-fly" it does not always render correctly. Try exiting the screen and starting it up again. This usually takes care of the problem. If it does not, then try a differnt font.

Here is an example of JGuiGen rendered in an Italic Font.


jguigen_font.png



Change Locale

The last option we will show is just a sample of changing to a differnt locale.

Since many of the items displayed by JGuiGen are "standard" they are shared by all of the applications generated by JGuiGen. This means that as soon as you generate an application it is partially translated.

I don't speak languages other than English so the follwoing translations were done by Babblefish on the web.

These screen shots were taken immediately after an application was generated.

Spanish
jguigen_spanish.png

German
lead_german.png

French
lead_french.png

Italian
lead_italian.png

JGuiGen will default to the language the PC is set to use as its default. You can run other languages using our run.bat or run.sh by typing

As an example these were obtained using the Lead.java class shown in the screen casts on Sourceforge and typing
run -Duser.language=de src.Lead - German
run -Duser.language=es src.Lead - Spanish
run -Duser.language=fr src.Lead - French
run -Duser.language=it src.Lead - Italian

On linux you would change the "run" to "./run.sh"