On Thu, 16 Mar 2023 22:48:24 GMT, Damon Nguyen <dngu...@openjdk.org> wrote:
>> Actually I see the same behavior (ComboBox's selected item overlapped with >> popup menu) for non-editable ComboBox with or without your fix(whether it >> has a border or not). >> We can probably fix it along with this issue. >> >> >> [JDK_8302558.java.txt](https://github.com/openjdk/jdk/files/10962183/JDK_8302558.java.txt) > > @azvegint In reference to the combobox's button, the email I got back from > Apple says "in Aqua, there is no concept of a non editable Combo Box... what > you are depicting as a JComboBox is actually a popup/pulldown". However, > "NSComboBox, because of its direct affinity to NSTextField, has the square > bezel corners" rather than "the softer rounded corners that the button family > uses". My understanding from this is, since JComboBox relies on TextField, it > uses the native TextField's square corners. I guess now in JDK with your testcase, popup button are shown opposite to what native components shows ie editable combobox shows non-editable pop-up button and non-editable combobox shows editable pull-down button  whereas in native for non-editable one we have pop-up  and for editable we have pull-down  ------------- PR: https://git.openjdk.org/jdk/pull/12750