We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 952f9c7 commit 592adc8Copy full SHA for 592adc8
src/demo/share/jfc/SwingSet2/TableDemo.java
@@ -741,4 +741,13 @@ void updateDragEnabled(boolean dragEnabled) {
741
footerTextField.setDragEnabled(dragEnabled);
742
}
743
744
+ @Override
745
+ public ImageIcon createImageIcon(String filename, String description) {
746
+ ImageIcon imageIcon = super.createImageIcon(filename, description);
747
+ AccessibleContext context = imageIcon.getAccessibleContext();
748
+ if (context!= null) {
749
+ context.setAccessibleName(description);
750
+ }
751
+ return imageIcon;
752
753
0 commit comments