Difference between revisions of "JGuiGen Demo"
From lightwiki
Line 25: | Line 25: | ||
# Compile and run the new gui | # Compile and run the new gui | ||
## show out-of-the-box features of the gui | ## show out-of-the-box features of the gui | ||
− | ## View, Add, Edit, Delete | + | ## View, Add, Edit, Delete ... right click duplicate |
− | ## Search | + | ## Search for some rows |
## Oh ... what's this? ... Reports! | ## Oh ... what's this? ... Reports! | ||
## try closing a window after a change | ## try closing a window after a change |
Revision as of 04:46, 22 March 2006
Back to Main Page
- Assumed to have installed: sdk, eclipse 3.1.2
- download from cvs and show directory structure
- JGuiGenCode
- JGuiGenJars
- JGuiGenMisc - hsql text files, containing JGuiGenDB: Data_Dict, JGuiGen_i18n, UserLogData, CodesBank
- classpath=".:"`echo *.jar | tr " " ":"`;
- javac -classpath $classpath com/halepringle/standard/*.java com/halepringle/standard/XML/*.java com/halepringle/src/*.java JGuiGen.java
- vi JGuiGenIni.xml, add table name "Lead", add class name "Lead", add table model name "LeadTm"
- launch db admin. sh ./runUtil.sh DatabaseManager
- cut and paste new table "Leads"
- cut and paste new columns: id, date, address
- run JGuiGen from the command line java -cp $classpath JGuiGen
- Basic flow ... start in the Data Dictionary
- Check Data Dictionary, Leave Flags, Run Now
- Edit Data Dict ... Do a bunch of stuff for each column
- Generate Application
- Exit from the Internationalization causes a write
- Generate HTML (optional)
- Compile and run the new gui
- show out-of-the-box features of the gui
- View, Add, Edit, Delete ... right click duplicate
- Search for some rows
- Oh ... what's this? ... Reports!
- try closing a window after a change
- try changing the row to edit after a change
- wash, rinse, repeat 8, 9, 10, and 11 showing features
- Quickly adding a column, such as: ssn, phone, address
- Internationalization
- Hot keys
- Change validation error message and Test
- blast the coffee cup
- run test scripts against the gui
- show test script output
- launch eclipse
- shameless plug - Hale Pringle's web site