JGuiGen Demo

From lightwiki
Revision as of 04:41, 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
    6. try changing the row to edit
  12. wash, rinse, repeat 8, 9, 10, and 11 showing features
    1. Quickly adding a column
      1. ssn
      2. phone
      3. address
    2. Change validation error message and Test
    3. Internationalization
    4. Hot keys
    5. run test scripts against the gui
    6. show test script output
  13. launch eclipse