mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
UI Designer test data moved
This commit is contained in:
15
plugins/ui-designer/testData/ConditionalMethodCallTest.java
Normal file
15
plugins/ui-designer/testData/ConditionalMethodCallTest.java
Normal file
@@ -0,0 +1,15 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class ConditionalMethodCallTest extends JPanel {
|
||||
public JComponent myRootComponent;
|
||||
|
||||
public ConditionalMethodCallTest() {
|
||||
this(1);
|
||||
}
|
||||
|
||||
public ConditionalMethodCallTest(int i) {
|
||||
setLayout(i == 0 ? new GridBagLayout() : new BorderLayout());
|
||||
myRootComponent.getComponentCount();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user