[izpack-devel] InitialFocus to yesRadioButton in LicencePanel

Bartz, Klaus Klaus.Bartz at coi.de
Tue Jul 4 14:11:55 CEST 2006


Hi Dominik,
may be your are shirty at testing to change allways selection
of this radio group. But this behavior is the common way. 
Look e.g. into a MSI installation.
I do not really know, but it is possible that there is a 
legeal meaning to force the installer to give a little bit more
time to accept license. If we set an initial focus, we do it
for the noRadio (like InstallShields MSI it does).

Cheers

Klaus


>-----Original Message-----
>From: izpack-devel-admin at berlios.de
>[mailto:izpack-devel-admin at berlios.de]On Behalf Of Dominik.S
>Sent: Tuesday, July 04, 2006 1:48 PM
>To: izpack-devel at lists.berlios.de
>Subject: [izpack-devel] InitialFocus to yesRadioButton in LicencePanel
>
>
>Hi,
>
>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.
>
>Regards,
>  dominik
>###########################################
>
>This message has been scanned by F-Secure Anti-Virus.
>For more information, connect to http://www.f-secure.com/
>_______________________________________________
>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