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

JOptionPane display issue with GTKLookAndFeel

    XMLWordPrintable

Details

    • b09
    • Not verified

    Backports

      Description

        Running any Swing app having a JOptionPane with a text field component with GTK L&F (-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel) leads to component not being correctly rendered with highlighted text - please see the attached screenshots

        For example for JOptionPane with a text field, the default text in the field prompt is not highlighted for GTKLookAndFeel

        Attachments

          1. JOptionPane_InputOption_Demo.java
            0.4 kB
          2. JOptionPane01_Default.png
            JOptionPane01_Default.png
            49 kB
          3. JOptionPane01_GTK.png
            JOptionPane01_GTK.png
            63 kB
          4. JTextField.png
            JTextField.png
            30 kB
          5. JTextFieldGTK.png
            JTextFieldGTK.png
            41 kB

          Issue Links

            Activity

              People

                ssadetsky Semyon Sadetsky (Inactive)
                dbessono Dmitry Bessonov
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: