[izpack-devel] Question/Suggestion for PathSelectionPanel
Hal Vaughan
hal at thresholddigital.com
Wed Mar 1 16:00:02 CET 2006
On Wednesday 01 March 2006 09:50, Miraodb wrote:
> Hi all,
>
> I updated that on my side and worked fine.
> It doens't change any of the current behaviour.
> Shall we commit so that there's no need for a custom panel ?
I would appreciate it, if possible. I know it's just for one panel I'm
doing (which I will be submitting when I'm sure it's debugged), but I'd
think it'd be a help for other possible panels.
Thanks!
Hal
> Let me know.
> cheers,
> fabrice
>
> > I was recently working on a series of panels (which I plan to post
> > here
>
> when
>
> > they're ready for possible inclusion, since I think others will
> > find them helpful) and used the PathSelectionPanel. I needed
> > access to the Browse button so I could do something slightly
> > differently with the FileChooser. Since the Browse button
> > (browseButton) is private, there was no way to
>
> access
>
> > it (I also wanted to get the dimensions so I could put another
> > button
>
> under
>
> > it that would be the same size). I ended up creating another
> > class, AlteredPathSelectionPanel and adding just one method that
> > would return the button object. Is there a chance of getting this
> > added to PathSelectionPanel:
> >
> > /**
> > * Returns the browse button object for modification or for use
> > with a * different ActionListener.
> > *
> > * @return the browse button to open the JFileChooser
> > */
> > public JButton getBrowseButton()
> > {
> > return browseButton;
> > }
> >
> > I don't know how much it would be used, but it would be helpful.
> >
> > Thanks!
> >
> > Hal
> > _______________________________________________
> > izpack-devel mailing list
> > izpack-devel at lists.berlios.de
> > http://lists.berlios.de/mailman/listinfo/izpack-devel
>
> _______________________________________________
> 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