[izpack-devel] InitialFocus to yesRadioButton in LicencePanel

Tino Schwarze berlios.de at tisc.de
Tue Jul 4 14:26:08 CEST 2006


On Tue, Jul 04, 2006 at 01:48:28PM +0200, Dominik.S wrote:

> i think it would be a good idea to put the initial focus to the
> yesRadioButton in the License Panel. This could be done at the end of
> the constructor of the java class LicencePanel (package:
> com.izforge.izpack.panels) by just adding "setInitialFocus(yesRadio)": 
> 
> 
>     public LicencePanel(InstallerFrame parent, InstallData idata)
>         {
>         
>         // ... some code
>         
>         // set inital focus to yesRadioButton
>         setInitialFocus(yesRadio);
>     }
> 
> 
> Perhaps someone could include this in the next release.

I changed trunk to focus the noRadio initially.

Thank you for the hint.

Tino.




More information about the izpack-devel mailing list