RFR: 8277497 Last column cell in the JTAble row is read as empty cell [v3]

Artem Semenov asemenov at openjdk.java.net
Thu Nov 25 13:00:11 UTC 2021


On Thu, 25 Nov 2021 03:53:44 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Artem Semenov has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
>
> src/java.desktop/share/classes/javax/swing/JLabel.java line 1091:
> 
>> 1089:                     (JLabel.this.getIcon() != null)) {
>> 1090:                 name = ResourceBundle.getBundle("com.sun.accessibility.internal.resources.accessibility", Locale.getDefault()).getString("image");
>> 1091:             }
> 
> Probably it should somehow ask the icon itself about possible description? I guess the JLabel should work similar to Icon/ImageIcon/AccessibleImageIcon/etc when the text is empty but the icon is set. But I am not sure that the iicons are supported by the a11y in Swing, for example how the reader will cover the simple Icon? Will it say something?

Done. thank you very much.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6538



More information about the client-libs-dev mailing list