[izpack-devel] InitialFocus to yesRadioButton in LicencePanel

Tino Schwarze berlios.de at tisc.de
Tue Jul 4 14:01:22 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.

-1.

Actually, the LicensePanel sould have a 
  [ ] I agree 
checkbox, so the user needs to do a conscious decision to accept. There
might be even legal requirements IIRC.

Bye,

Tino.




More information about the izpack-devel mailing list