[izpack-users] File Browser without combo box

Hal Vaughan hal at thresholddigital.com
Fri Feb 24 20:09:06 CET 2006


On Friday 24 February 2006 13:46, Laurent Duperval wrote:
> Quick question: Is the PathSelectionPanel available as a widget that
> I can include in any other panel (by including directves in the XML
> file), or do I have to create my own custom panel for this? I looked
> at the TargetPanel but it seems to be for setting the $INSTALL_PATH.
> This isn't why I want the Browse button.

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.

Hal



More information about the izpack-users mailing list