mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-14 07:47:12 -06:00
FlatTestFrame: fixed mnemonic
This commit is contained in:
@@ -248,7 +248,7 @@ public class FlatTestFrame
|
|||||||
|
|
||||||
//---- explicitColorsCheckBox ----
|
//---- explicitColorsCheckBox ----
|
||||||
explicitColorsCheckBox.setText("explicit colors");
|
explicitColorsCheckBox.setText("explicit colors");
|
||||||
explicitColorsCheckBox.setMnemonic('E');
|
explicitColorsCheckBox.setMnemonic('X');
|
||||||
explicitColorsCheckBox.addActionListener(e -> explicitColorsChanged());
|
explicitColorsCheckBox.addActionListener(e -> explicitColorsChanged());
|
||||||
buttonBar.add(explicitColorsCheckBox, "cell 1 0");
|
buttonBar.add(explicitColorsCheckBox, "cell 1 0");
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ new FormModel {
|
|||||||
add( new FormComponent( "javax.swing.JCheckBox" ) {
|
add( new FormComponent( "javax.swing.JCheckBox" ) {
|
||||||
name: "explicitColorsCheckBox"
|
name: "explicitColorsCheckBox"
|
||||||
"text": "explicit colors"
|
"text": "explicit colors"
|
||||||
"mnemonic": 69
|
"mnemonic": 88
|
||||||
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "explicitColorsChanged", false ) )
|
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "explicitColorsChanged", false ) )
|
||||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||||
"value": "cell 1 0"
|
"value": "cell 1 0"
|
||||||
|
|||||||
Reference in New Issue
Block a user