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

Editable JComboBox with a titled border is not really editable in Some LAFs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 8, 11, 17, 20, 21
    • client-libs

      If we try to edit the selected values in an editable JComboBox with a titled border and press 'ENTER' key, the edited value is not getting updated in JComboBox.getSelectedItem() in case of Aqua LAF and GTK LAF.

      This is reproducible only in case of JComboBox with a titled border.

      An interesting information is that, this issue is not reproducible in JDK-20 b15, but was reproducible in JDK-20 b01. So it would have been fixed in between. But I'm not able to verify this issue from JDK-20 b16 onwards because of the regression JDK-8300269.

      I have attached a new regression test which reproduces this issue.

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

              Created:
              Updated: