Difference between revisions of "JGuiGen Demo"

From lightwiki
Jump to: navigation, search
Line 12: Line 12:
 
# classpath=".:"`echo *.jar | tr " " ":"`
 
# classpath=".:"`echo *.jar | tr " " ":"`
 
# find . -name \*.class | while read f; do rm $f; done
 
# find . -name \*.class | while read f; do rm $f; done
# tar xf JGuiGen.tar
+
# tar xf JGuiGen.tar; cd JGuiGen
 
# javac -classpath $classpath com/*/standard/*.java com/*/standard/XML/*.java com/*/src/*.java JGuiGen.java
 
# 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"
 
# vi JGuiGenIni.xml, add table name "Lead", add class name "Lead", add table model name "LeadTm"

Revision as of 05:07, 22 March 2006

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. find . -name \*.class | while read f; do rm $f; done
  5. tar xf JGuiGen.tar; cd JGuiGen
  6. javac -classpath $classpath com/*/standard/*.java com/*/standard/XML/*.java com/*/src/*.java JGuiGen.java
  7. vi JGuiGenIni.xml, add table name "Lead", add class name "Lead", add table model name "LeadTm"
  8. launch db admin. sh ./runUtil.sh DatabaseManager
  9. cut and paste new table "Lead"
  10. cut and paste new columns: id, date, address
  11. run JGuiGen from the command line java -cp $classpath JGuiGen
  12. 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)
  13. Compile and run the new gui
    1. show out-of-the-box features of the gui
    2. View, Add, Edit, Delete ... right click duplicate
    3. Search for some rows
    4. Oh ... what's this? ... Reports!
    5. try closing a window after a change
    6. try changing the row to edit after a change
  14. 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
  15. launch eclipse