<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://verns.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=JGuiGen_Lead_Script</id>
		<title>JGuiGen Lead Script - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://verns.net/mediawiki/index.php?action=history&amp;feed=atom&amp;title=JGuiGen_Lead_Script"/>
		<link rel="alternate" type="text/html" href="http://verns.net/mediawiki/index.php?title=JGuiGen_Lead_Script&amp;action=history"/>
		<updated>2026-05-25T06:56:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>http://verns.net/mediawiki/index.php?title=JGuiGen_Lead_Script&amp;diff=5115&amp;oldid=prev</id>
		<title>Vsingleton: Reverted edits by Alatokoga (Talk) to last revision by 10.1.1.1</title>
		<link rel="alternate" type="text/html" href="http://verns.net/mediawiki/index.php?title=JGuiGen_Lead_Script&amp;diff=5115&amp;oldid=prev"/>
				<updated>2010-11-24T16:11:44Z</updated>
		
		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/mediawiki/index.php/Special:Contributions/Alatokoga&quot; title=&quot;Special:Contributions/Alatokoga&quot;&gt;Alatokoga&lt;/a&gt; (&lt;a href=&quot;/mediawiki/index.php?title=User_talk:Alatokoga&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Alatokoga (page does not exist)&quot;&gt;Talk&lt;/a&gt;) to last revision by &lt;a href=&quot;/mediawiki/index.php?title=User:10.1.1.1&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:10.1.1.1 (page does not exist)&quot;&gt;10.1.1.1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Back to [[JGuiGen Demo]]&lt;br /&gt;
&lt;br /&gt;
=== The demo pre-script ===&lt;br /&gt;
&lt;br /&gt;
# ./rec.sh&lt;br /&gt;
## rm -rf ~vds/.java/&lt;br /&gt;
## cd ~vds/downloads&lt;br /&gt;
## rm -rf jguigen&lt;br /&gt;
## export JAVA_HOME=/opt/j2sdk_nb/j2sdk1.4.2&lt;br /&gt;
## chmod 0755 ./runUtil.sh&lt;br /&gt;
# enter password&lt;br /&gt;
# cd ~vds/downloads&lt;br /&gt;
# If you have not checked out the code then:&lt;br /&gt;
## svn checkout https://svn.sourceforge.net/svnroot/jguigen/JGuiGen/trunk/ jguigen&lt;br /&gt;
## cd jguigen&lt;br /&gt;
## unzip JGuiGenMisc.zip&lt;br /&gt;
## time ./build.sh&lt;br /&gt;
# hide the panel&lt;br /&gt;
# xview JGuiGen_Screenshot.jpg &amp;amp; - [http://hale.homeip.net/GuiGen/htmlhelp/elegantcrud.htm Elegant CRUD]&lt;br /&gt;
# maximize it&lt;br /&gt;
# rec -c 1 -d /dev/dsp -t wav -r 44100 - | lame -h - junk.mp3&lt;br /&gt;
# F8 start recording swf&lt;br /&gt;
&lt;br /&gt;
=== Create the Lead table ===&lt;br /&gt;
&lt;br /&gt;
# sh ./runUtil.sh DatabaseManager&lt;br /&gt;
## choose the type: &amp;quot;... Standalone&amp;quot;&lt;br /&gt;
## driver: JGuiGenDb&lt;br /&gt;
## Ok&lt;br /&gt;
# cut and paste new table &amp;quot;Lead&amp;quot;&lt;br /&gt;
# cut and paste the index&lt;br /&gt;
# discuss the table columns&lt;br /&gt;
## lead_ID integer identity&lt;br /&gt;
## lead_DATE timestamp&lt;br /&gt;
## lead_PHONE char(20)&lt;br /&gt;
## isremoved smallint - the deleted flag&lt;br /&gt;
## lastchangedby char(20) - for sanity and multi user functionality&lt;br /&gt;
## lastchangeddate timestamp default null - for validation and multi user functionality&lt;br /&gt;
# File -&amp;gt; Exit&lt;br /&gt;
&lt;br /&gt;
=== Mark, Check, Describe, Generate, Build ===&lt;br /&gt;
&lt;br /&gt;
# ./run.sh JGuiGen&lt;br /&gt;
# Starting in the Data Dictionary Menu&lt;br /&gt;
## Create&lt;br /&gt;
## Lead with nothing&lt;br /&gt;
## Lead with Telphone mask and Telephone req and reordering with date before telephone, change tooltip for telephone&lt;br /&gt;
## updating the info field for class, no icons in menu, changing the number of rows showed&lt;br /&gt;
## push the JUnit button&lt;br /&gt;
&lt;br /&gt;
## Mark Tables&lt;br /&gt;
### choose Lead table&lt;br /&gt;
### check &amp;quot;Mark table to be processed&amp;quot;&lt;br /&gt;
### information about our leads&lt;br /&gt;
### Save&lt;br /&gt;
### Exit&lt;br /&gt;
## Check Data Dictionary&lt;br /&gt;
### Leave Flags&lt;br /&gt;
### Run Now&lt;br /&gt;
### Browse&lt;br /&gt;
### search for &amp;quot;Table: Lead&amp;quot;&lt;br /&gt;
## Edit Class Desc&lt;br /&gt;
### Select the Lead table&lt;br /&gt;
### change number of rows to 6 or 10&lt;br /&gt;
### mention coffee cup to my.gif&lt;br /&gt;
### Save&lt;br /&gt;
### Exit&lt;br /&gt;
## Edit Column Desc&lt;br /&gt;
### change laf to metal&lt;br /&gt;
### show primary key&lt;br /&gt;
### show defaults for lead_DATE&lt;br /&gt;
### select lead_PHONE&lt;br /&gt;
### component -&amp;gt; Telephone&lt;br /&gt;
### required field&lt;br /&gt;
### the phone number of our lead&lt;br /&gt;
### Save&lt;br /&gt;
### Exit&lt;br /&gt;
## Generate Application&lt;br /&gt;
### Model&lt;br /&gt;
### Order&lt;br /&gt;
### Create Java&lt;br /&gt;
#### i18n - y for yes in english can become an S in Spanish for Si Senor&lt;br /&gt;
#### All code generated by JGuiGen can run from within a jar, or as part of a Java Web Start application &lt;br /&gt;
#### testcase generation&lt;br /&gt;
##### pops up Lead gui&lt;br /&gt;
##### saves a new lead&lt;br /&gt;
##### close Lead gui&lt;br /&gt;
##### relaunches Lead gui&lt;br /&gt;
##### finds the row it add&lt;br /&gt;
##### checks that the values selected are identical to those saved&lt;br /&gt;
# time ./build.sh&lt;br /&gt;
&lt;br /&gt;
=== Running the Lead GUI ===&lt;br /&gt;
&lt;br /&gt;
# ./run.sh com.halepringle.src.Lead&lt;br /&gt;
# Compile and run the new gui&lt;br /&gt;
# time ./build.sh&lt;br /&gt;
# ./run.sh com.halepringle.src.Lead &amp;amp;&lt;br /&gt;
# Read errors and messaged about add mode&lt;br /&gt;
# introduce the id, date, and phone&lt;br /&gt;
# show the phone tool tip&lt;br /&gt;
# note the red-dashed line around the required field&lt;br /&gt;
# Add a lead&lt;br /&gt;
# right click duplicate&lt;br /&gt;
# right click duplicate&lt;br /&gt;
# right click duplicate&lt;br /&gt;
# right click duplicate&lt;br /&gt;
# delete number 4&lt;br /&gt;
# add a different lead&lt;br /&gt;
# sort a column&lt;br /&gt;
# right click freq_cnt&lt;br /&gt;
# resize a column&lt;br /&gt;
# drag a colummn&lt;br /&gt;
# resize the Lead window&lt;br /&gt;
# Drag the Lead window&lt;br /&gt;
# close the window&lt;br /&gt;
# relaunch the window&lt;br /&gt;
# note the saved preferences&lt;br /&gt;
&lt;br /&gt;
=== Adding a Column to the Lead table and GUI ===&lt;br /&gt;
# Spend some time on the &amp;quot;Column Edit Desc&amp;quot; screen.  This is the most complicated part of JGuiGen&lt;br /&gt;
# Quickly adding a column, such as: ssn, phone, address, name of lead&lt;br /&gt;
# Perhaps a third add that goes into the Codes Bank screen. It would be nice to show filling a combo box or creating a radio button.  We might set up a combobox for who the lead is for.&lt;br /&gt;
# Internationalization - I've got on my TODO list the task doing a menu to offer to change the locale.  If we put a dozen or so spanish translations back in the I18n file (Even just the button names) this could be a very quick - change to Spanish - see screen change - change back to English&lt;br /&gt;
# Hot keys&lt;br /&gt;
# Accessibility - If we can find something that speaks as the cursor moves this would be neat.  If you edit Lead.java down in the main() there is a boolean you can toggle for A11y.  If it is set to true you get a second screen that shows what the mouse cursor is moving over.&lt;br /&gt;
# Change validation error message and Test&lt;br /&gt;
# blast the coffee cup&lt;br /&gt;
# run test scripts against the gui&lt;br /&gt;
# show test script output&lt;br /&gt;
# launch eclipse&lt;br /&gt;
# Edit JGuiGenIni.xml file and point to the MySQL database and have the demo continue to work&lt;br /&gt;
# Show the Add User Screen - Touch on getting access to database through LDAP which mean user ane and password to the database are encrypted on the local machine.&lt;br /&gt;
# I would love to generate a JGuiGen Screen without the scrolling table, find, etc. and take one of the JTree demos I have which shows a tree on the left and an edit screen on the right.  Then we could create a demo where you click on a tree leaf and the JGuiGen Edit screen shows in the right panel. If we did the &amp;quot;Person Lead was for&amp;quot; combo box we could have a tree where the major break is the person, leaf nodes are the leads.  Click on a lead in the tree and see the edit screen come up on the right.  Again once it is created it would be a 15 second demo but it shows that JGuiGen can be used to create a simple edit screen without a lot of the &amp;quot;Full Application&amp;quot; bells and whistles.&lt;/div&gt;</summary>
		<author><name>Vsingleton</name></author>	</entry>

	</feed>