Commits

Alireza Savand committed 1871b1e

modify the constructor to initial and set[First|Second]Component
on the ListView

  • Participants
  • Parent commits 44b1e40

Comments (0)

Files changed (1)

File src/com/example/advanceaddressbook/ui/ListView.java

 import com.vaadin.ui.VerticalSplitPanel;
 
 public class ListView extends VerticalSplitPanel {
-	public ListView() {
+	public ListView(PersonList personList, PersonForm personForm) {
+		setFirstComponent(personList);
+		setSecondComponent(personForm);
+		setSplitPosition(40);
 	}
 }