On Mon, 24 Jul 2023 19:18:10 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> That's exactly my concern: in other L&Fs `AccessibleJComboBox` handles the > scenario yet in Aqua L&F it is handled by a different component which is not > a problem okay per se. What is a problem is that retrieving the accessible > name depends on paint: > > * if `AquaComboBoxButton.paint` hasn't been called for whatever reason, > there's no accessible name; > > * if the value in the combo box is changed, the accessible name isn't > updated until paint occurs. I rechecked again but couldn't find any other way to either set accessible name or get the current selected item other than `AquaComboBoxButton.paint`. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14497#discussion_r1273430651