Difference between revisions of "JGuiGen Demo"
From lightwiki
Line 10: | Line 10: | ||
## JGuiGenJars | ## JGuiGenJars | ||
## JGuiGenMisc - hsql text files, containing JGuiGenDB: Data_Dict, JGuiGen_i18n, UserLogData, CodesBank | ## 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" | # vi JGuiGenIni.xml, add table name "Lead", add class name "Lead", add table model name "LeadTm" | ||
# launch db admin. sh ./runUtil.sh DatabaseManager | # launch db admin. sh ./runUtil.sh DatabaseManager | ||
# cut and paste new table "Leads" | # cut and paste new table "Leads" | ||
# cut and paste new columns: id, date, address | # cut and paste new columns: id, date, address | ||
− | # run JGuiGen from the command line | + | # run JGuiGen from the command line java -cp $classpath JGuiGen |
# Basic flow ... start in the Data Dictionary | # Basic flow ... start in the Data Dictionary | ||
## Check Data Dictionary, Leave Flags, Run Now | ## Check Data Dictionary, Leave Flags, Run Now |
Revision as of 04:37, 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)
- Run the gui, show out-of-the-box features of the gui
- View, Add, Edit, Delete
- Search
- Oh, what's this? ... Reports!
- And more ...
- try closing a window
- try changing the row to edit
- wash, rinse, repeat 6,7,8 and 9 showing features
- Quickly adding a column
- ssn
- phone
- address
- Change validation error message and Test
- Internationalization
- Hot keys
- run test scripts against the gui
- show test script output
- Quickly adding a column
- launch eclipse
- shameless plug - Hale Pringle's web site