mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
import javax.swing.*;
|
|
|
|
public class BindingTest {
|
|
public JComponent myRootComponent;
|
|
private JLabel myLabel;
|
|
|
|
public BindingTest() {
|
|
$$$setupUI$$$();
|
|
doTest();
|
|
myLabel.setText("My Text");
|
|
}
|
|
|
|
private void doTest() {
|
|
}
|
|
|
|
private void createUIComponents() {
|
|
myLabel = new JLabel();
|
|
}
|
|
|
|
/**
|
|
* Method generated by IntelliJ IDEA GUI Designer
|
|
* >>> IMPORTANT!! <<<
|
|
* DO NOT edit this method OR call it in your code!
|
|
*
|
|
* @noinspection ALL
|
|
*/
|
|
private void $$$setupUI$$$() {
|
|
createUIComponents();
|
|
myRootComponent = new JPanel();
|
|
myRootComponent.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(1, 1, new java.awt.Insets(0, 0, 0, 0), -1, -1));
|
|
myRootComponent.add(myLabel, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
}
|
|
|
|
/**
|
|
* @noinspection ALL
|
|
*/
|
|
public JComponent $$$getRootComponent$$$() {
|
|
return myRootComponent;
|
|
}
|
|
}
|