[izpack-users] File Browser without combo box
Laurent Duperval
lduperval at gmail.com
Fri Feb 24 20:30:17 CET 2006
On 2/24/06, Hal Vaughan <hal at thresholddigital.com> wrote:
> Essentially it is.
>
> PathSelectionPanel psPanel = new PathSelectionPanel(this, iData);
>
> And then just add it to your panel layout as you would any other widget.
> Check the JavaDocs for it, so you know how to get the path from it once
> it's chosen.
>
At the risk of really sounding stupid and annoying... I don't
understand the answer. I assume it's because I didn't right the proper
question, so let me reformulate it.
Can I add a label, text field and browse button to a UserInputPanel
just by writing the Installation XML file? (So can I specify a
PathSelectionPanel in XML? If so, where can I see the syntax? I want
something similar to the "search", but with a text input instead of a
combo box and no Autodetect button).
If I can't, is there another specialised panel I can use? I know about
TargetPanel but that sets INSTALL_PATH. I want to set a different
variable.
Otherwise I will extend UserPanel for my purposes and provide patches.
Thanks,
L
More information about the izpack-users
mailing list