[izpack-devel] Changing the icon image
Ryan Shillington
Ryan.Shillington at troux.com
Wed Mar 22 18:24:38 CET 2006
BTW, I figured out why I couldn't find the source code in your SVN
repository. It's because it's all in CVS :-).
Ryan
__________________________________________________
Ryan Shillington
Troux
Office: 512.493.9575 Cell: 512.426.4389 Fax: 512.231.8796
-----Original Message-----
From: izpack-devel-admin at berlios.de
[mailto:izpack-devel-admin at berlios.de] On Behalf Of Ryan Shillington
Sent: Wednesday, March 22, 2006 11:13 AM
To: izpack-devel at lists.berlios.de
Cc: Miraodb
Subject: Re: [izpack-devel] Changing the icon image
Sorry for my first message; it was a little incomprehensible. Let me
try to restate it:
In section 3.5 of http://www.izforge.com/izpack/izpack-doc.pdf, it talks
about how you can set an image for every panel. I want my custom panel
to be able to change that image depending on certain computations.
So, I dug through the code and found that the image is set up in
InstallerFrame. Unfortunately, there isn't a way for me to modify the
image. I'm happy to do the development, if you folks agree that it's
the right thing to do. Essentially InstallerFrame could use a new
method that looks like:
public void changePanelImage(Icon newImage)
{
iconLabel.setIcon(newImage);
}
Does that make more sense?
Ryan
----- Original Message -----
From: "Miraodb" <miraodb at hotmail.com>
To: <izpack-devel at berlios.de>
Subject: Re: [izpack-devel] Changing the icon image
Date: Wed, 22 Mar 2006 10:15:56 +0100
Reply-To: izpack-devel at lists.berlios.de
Hi Ryan,
InstallerFrame.java is in com\izforge\izpack\installer of your IzPack
SRC folder.
But i don't know if changing this base class is a good idea. I didn't
really understand your need.
If you could be more specific ?
Cheers,
fabrice
----- Original Message -----
From: "Ryan Shillington" <Ryan.Shillington at troux.com>
To: <izpack-devel at lists.berlios.de>
Sent: Wednesday, March 22, 2006 1:08 AM
Subject: [izpack-devel] Changing the icon image
Hello,
I have the requirement to modify the image for beside my custom pane if
an error occurs. Unfortunately,
com.izforge.izpack.installer.InstallerFrame.iconLabel is private. Is
there any way that we can provide a getter for this (ie.
InstallerFrame.getIconLabel()) or provide a way to change the panel
image mid-flight, if need be?
Thanks in advance,
Ryan
P.S. I browsed through the SVN repository and I couldn't even find the
InstallerFrame class. Where is it?
__________________________________________________
Ryan Shillington
Troux <http://www.troux.com/>
Office: 512.493.9575 Cell: 512.426.4389 Fax: 512.231.8796
__________________________________________________
Ryan Shillington
Troux <http://www.troux.com/>
Office: 512.493.9575 Cell: 512.426.4389 Fax: 512.231.8796
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.
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
http://lists.berlios.de/mailman/listinfo/izpack-devel
More information about the izpack-devel
mailing list