JGuiGen Demo
From lightwiki
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 " " ":"`;
- find . -name \*.class | while read f; do rm $f; done
- tar xf JGuiGen.tar
- javac -classpath $classpath com/*/standard/*.java com/*/standard/XML/*.java com/*/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