<AWT Dev> [7] Review request for 6891269: non-compliance with Section 508 using 1.6.0_18

Artem Ananiev artem.ananiev at oracle.com
Mon Jun 4 06:48:23 PDT 2012


Hi, Vladislav,

some random comments:

1. From the bug description, it's not clear when the problem is 
reproducible. Does caret size become 1x1 pixels on windows theme changes?

2. AwtComponent class already has WmSettingsChanged() callback, so you 
can place ::SystemParametersInfo() there, not into AwtToolkit.

3. Does the problem only manifests in text areas? What about text fields?

4. Could you describe why UpdateCaret() is required in WmForwardChar() 
and in HandleEvent()? I would expect ::CreateCaret() in WmSetFocus(), 
::DestroyCaret() in WmKillFocus(), and re-create caret in 
WmSettingChanged() should be enough.

5. If we introduce UpdateCaret() method, it should be placed either to 
AwtTextArea or to AwtTextComponent, there is no need to have this method 
in AwtComponent.

Thanks,

Artem

On 6/1/2012 6:28 PM, Vladislav Karnaukhov wrote:
> Hello,
>
> please review a fix for the following issue: 6891269 non-compliance with
> Section 508 using 1.6.0_18
>
> http://monaco.sfbay.sun.com/detail.jsf?cr=6891269
>
> Please find webrev here:
> http://cr.openjdk.java.net/~alexp/6891269/webrev.00/
>
> This is a forward-port from JDK6. The fix introduces support for Windows
> Accessibility/Ease Of Access to TextArea control.
>
> Regards,
> - Vlad



More information about the awt-dev mailing list