[izpack-devel] Custom buttons in navigation panel of InstallerFrame

Hal Vaughan hal at thresholddigital.com
Fri Jun 9 17:36:37 CEST 2006


On Friday 09 June 2006 03:41, Bartz, Klaus wrote:
> Hi all,
> I need an additional button in all installer panels.
>
> I do not see that that is possible in the moment without
> patching IzPack. Knows some one a way to do it with standard
> IzPack? Works some one on it (Fabrice, Hal)?

I've never worked on it, but it sounds like a cool idea.

> I think the best place will be the navPanel of InstallerFrame.
> To add my button "hard" into the code is not what I will do.
> Else I am thinking about a "GUICreationListener" which will
> be added in the constructor of a custom panel and will be called
> from InstallerFrame.buildGUI to modify the GUI. Then not only
> "my" button is there else other user can add there own buttons.

I'd think that would be the best place to put it.  The SimpleConfig 
Fabrice and I have been working on might be able to configure such a 
button to call a class or one of a number of defined methods already 
provided if it were already written into the code to have a button 
there.  It could even be set to be hidden, shown all the time, or only 
with certain panels.

Hal



More information about the izpack-devel mailing list