summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/tests/TestSplitPanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/tests/TestSplitPanel.java')
-rw-r--r--src/com/vaadin/tests/TestSplitPanel.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/com/vaadin/tests/TestSplitPanel.java b/src/com/vaadin/tests/TestSplitPanel.java
new file mode 100644
index 0000000000..628fec96d2
--- /dev/null
+++ b/src/com/vaadin/tests/TestSplitPanel.java
@@ -0,0 +1,29 @@
+/*
+@ITMillApache2LicenseForJavaFiles@
+ */
+
+package com.vaadin.tests;
+
+import com.vaadin.ui.Label;
+import com.vaadin.ui.SplitPanel;
+import com.vaadin.ui.Window;
+
+public class TestSplitPanel extends com.vaadin.Application {
+
+ // SplitPanel verticalSplit = new
+ // SplitPanel(SplitPanel.ORIENTATION_HORIZONTAL);
+ SplitPanel verticalSplit = new SplitPanel(SplitPanel.ORIENTATION_VERTICAL);
+
+ @Override
+ public void init() {
+ final Window mainWindow = new Window("Feature Browser");
+ setMainWindow(mainWindow);
+
+ verticalSplit.setFirstComponent(new Label("vertical first"));
+ verticalSplit.setSecondComponent(new Label("vertical second"));
+
+ mainWindow.setLayout(verticalSplit);
+
+ }
+
+}