Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8300269

The selected item in an editable JComboBox with titled border is not visible in Aqua LAF

    XMLWordPrintable

Details

    • b16
    • 20
    • b34
    • generic
    • os_x

    Backports

      Description

        The selected item in an editable JComboBox with titled border is not visible in Aqua LAF. This is working fine in other LAFs and fails only in Aqua LAF.

        This seems to be a regression introduced between JDK-20-ea+1 and JDK-20-ea+18 and reproducible only in JDK 20 and 21. The exact build which this regression got introduced seems to be JDK-20 b16.

        I have attached the screenshot as well a simple reproducer code for this issue.

        Other observations:
        1. This is reproducible only in an editable JComboBox, but in non-editable case, the selected item is barely visible(not completely visible).
        2. This is reproducible only in JComboBox with a titled border.
        3. There is another issue in editable JComboBox with a titled border in Aqua LAF that, it is not actually editable. May be I will raise a separate issue for this as this is even reproducible in JDK 17,19,20,21 also.

        Attachments

          Issue Links

            Activity

              People

                dnguyen Damon Nguyen
                mvs Manukumar V S
                Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: