Title border is not rendered for JCheckBox & JRadioButton

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8, 19, 20
    • Component/s: client-libs
    • None

      I have a two JCheckBox & two JRadoioButton on a frame. I am invoking setBorder(BorderFactory.createTitledBorder("Border") on JCheckBox & JRadioButton but TitleBorder is not seen or title is not screen. But I can see Border occupying the same.

      I tested on JDK 8u201/b79 , JDK 19 b36, JDK20 b36 and Border Title is not seen.

      I search in JBS for the same scenario and found https://bugs.openjdk.org/browse/JDK-4083415 which was fixed in JDK 1.2.0

            Assignee:
            Harshitha Onkar
            Reporter:
            Lawrence Andrews
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: