-
Bug
-
Resolution: Fixed
-
P3
-
7
-
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?");
}
});
}
}
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?");
}
});
}
}
- relates to
-
JDK-8080628 No mnemonics on Open and Save buttons in JFileChooser
- Closed
-
JDK-7040228 [zh_TW] extra (C) on cancel button on File Chooser dialog
- Closed