JGuiGen Demo

From lightwiki
Revision as of 04:45, 22 March 2006 by 10.1.1.1 (Talk)

Jump to: navigation, search

Back to Main Page

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