reviewed (and tested) all key bindings on Windows

This commit is contained in:
Karl Tauber
2020-02-26 23:47:38 +01:00
parent 1a4a7831f6
commit 60557fc8c8
4 changed files with 81 additions and 31 deletions

View File

@@ -165,6 +165,7 @@ public class FlatComponentsTest
JLabel scrollPaneLabel = new JLabel();
JScrollPane scrollPane13 = new JScrollPane();
JPanel panel1 = new JPanel();
JButton button19 = new JButton();
JScrollBar scrollBar2 = new JScrollBar();
JScrollBar scrollBar3 = new JScrollBar();
JScrollBar scrollBar7 = new JScrollBar();
@@ -803,8 +804,14 @@ public class FlatComponentsTest
//======== panel1 ========
{
panel1.setPreferredSize(new Dimension(200, 200));
panel1.setPreferredSize(new Dimension(800, 400));
panel1.setLayout(new BorderLayout());
//---- button19 ----
button19.setText("I'm a large button");
button19.setVerticalAlignment(SwingConstants.TOP);
button19.setHorizontalAlignment(SwingConstants.LEFT);
panel1.add(button19, BorderLayout.CENTER);
}
scrollPane13.setViewportView(panel1);
}

View File

@@ -1,4 +1,4 @@
JFDML JFormDesigner: "7.0.0.0.194" Java: "13.0.1" encoding: "UTF-8"
JFDML JFormDesigner: "7.0.1.0.272" Java: "13.0.1" encoding: "UTF-8"
new FormModel {
contentType: "form/swing"
@@ -728,7 +728,15 @@ new FormModel {
"verticalScrollBarPolicy": 22
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class java.awt.BorderLayout ) ) {
name: "panel1"
"preferredSize": new java.awt.Dimension( 200, 200 )
"preferredSize": new java.awt.Dimension( 800, 400 )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button19"
"text": "I'm a large button"
"verticalAlignment": 1
"horizontalAlignment": 2
}, new FormLayoutConstraints( class java.lang.String ) {
"value": "Center"
} )
} )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 13,grow,width 70,height 70"