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

GTK L&F doesn't have hotkeys in jdk7 b141, while b139 has.

XMLWordPrintable

    • b145
    • x86
    • linux
    • Verified

      GTK L&F doesn't have hotkeys in jdk7 b141, while b139 has.



      try testcase:

      import javax.swing.JOptionPane;
      import javax.swing.JPanel;
      import javax.swing.SwingUtilities;
      import javax.swing.UIManager;

      public final class JOptionPaneTest extends JPanel {
          public static void main(final String[] args) throws Exception {
              UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
              SwingUtilities.invokeAndWait(new Runnable() {
                  @Override public void run() {
                      JOptionPane.showInputDialog(null, "Alt+C close this dialog?");
                  }
              });
          }
      }

            mfang Michael Fang (Inactive)
            dpochepk Dmitrij Pochepko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: