[izpack-devel] Submission: Adding ability to modify the left hand side "image"

Ryan Shillington Ryan.Shillington at troux.com
Fri Apr 28 23:48:42 CEST 2006


Hello everybody,
 
Forgive me for submitting code without having proposed it first.  In a
very complex installer that we're developing here at Troux (
http://www.troux.com) that is based on IzPack, we need to be able to
display an "LED" look on the left hand side that shows the progress of
the install (and is different depending on which packs were chosen to be
installe).  Here's a graphic to give you an idea what our installer
looks like while it is configuring everything:
 
http://thebookhauler.com/izpack/installersidegraphic_2.png
 
The tricky bit is that our custom panel that's doing the configuration
needs to be able to modify the left hand image dynamically - not
statically.  To do this, I modified com.izforge.izpack.InstallerFrame so
that it used a JPanel with a background for the picture, instead of an
ImageIcon.  Then I made the JPanel available to custom panels.  Here's
the diff vs. what's shipping today:
 
http://thebookhauler.com/izpack/Report.html
 
And here are the 2 files that would need to be checked in:
 
http://thebookhauler.com/izpack/InstallerFrame.java
http://thebookhauler.com/izpack/JPanelWithBackground.java
 
Since I don't have CVS access to IzPack, I can't check in these changes.
Could somebody here look these changes over and see if they meet your
criteria?  This gives developers a lot more flexibility when creating
very complex installs.
 
Thank in advance,
 
Ryan
 
 
 
Ryan Shillington
Technical Lead 	 	
Work: 512-493-9575
Mobile: 512-426-4389
	Email: ryan.shillington at troux.com
Professional Profile <http://www.linkedin.com/pub/0/309/7b4> 
	Troux
<http://www.troux.com/> 8601 FM 2222
Building 3, #300
<http://maps.google.com/maps?q=8601+FM+2222%2CBuilding+3%2C+%23300%2CAus
tin%2CTX+78723&hl=en> Austin, TX 78723 
	
 
 
 
 
 
 
 
 
 
 
 

 


IMPORTANT NOTICE:
This message may contain confidential information. If you have received this e-mail in error, do not use, copy or distribute it. Do not open any attachments. Delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20060428/7bfa1016/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1395 bytes
Desc: bg_slate_385x42.jpg
Url : https://lists.berlios.de/pipermail/izpack-devel/attachments/20060428/7bfa1016/attachment.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 145 bytes
Desc: Blank Bkgrd.gif
Url : https://lists.berlios.de/pipermail/izpack-devel/attachments/20060428/7bfa1016/attachment.gif 


More information about the izpack-devel mailing list