package devopsdistilled.operp.client.commons.panes;

import javax.swing.JComponent;
import javax.swing.JPanel;

import devopsdistilled.operp.client.abstracts.SubTaskPane;
import devopsdistilled.operp.client.commons.panes.controllers.CreateContactInfoPaneController;
import devopsdistilled.operp.client.commons.panes.models.observers.CreateContactInfoPaneModelObserver;

public class CreateContactInfoPane extends SubTaskPane implements
		CreateContactInfoPaneModelObserver {

	private CreateContactInfoPaneController controller;

	private final JPanel pane;

	public CreateContactInfoPane() {
		pane = new JPanel();
	}

	@Override
	public JComponent getPane() {
		return pane;
	}

	public void setController(CreateContactInfoPaneController controller) {
		this.controller = controller;
	}
}

@@ -101,15 +101,112 @@
 ng.J
-Panel;%0A
+Label;%0Aimport javax.swing.JPanel;%0Aimport javax.swing.JTextField;%0A%0Aimport net.miginfocom.swing.MigLayout;
 %0Aimp
@@ -652,63 +652,1382 @@
 ne;%0A
-%0A%09public CreateContactInfoPane() %7B%0A%09%09pane = new JPanel(
+%09private final JTextField emailField;%0A%09private final JTextField workNumField;%0A%09private final JTextField mobileNumField;%0A%09private final JTextField homeNumField;%0A%09private final JPanel addressPanel;%0A%0A%09public CreateContactInfoPane() %7B%0A%09%09pane = new JPanel();%0A%09%09pane.setLayout(new MigLayout(%22%22, %22%5Bgrow%5D%5Bgrow%5D%22, %22%5B%5D%5Bgrow%5D%5B%5D%5B%5D%5B%5D%5B%5D%5B%5D%22));%0A%0A%09%09JLabel lblAddress = new JLabel(%22Address%22);%0A%09%09pane.add(lblAddress, %22flowx,cell 0 0%22);%0A%0A%09%09addressPanel = new JPanel();%0A%09%09pane.add(addressPanel, %22cell 0 1,grow%22);%0A%0A%09%09JLabel lblEmail = new JLabel(%22Email%22);%0A%09%09pane.add(lblEmail, %22cell 0 2,alignx trailing%22);%0A%0A%09%09emailField = new JTextField();%0A%09%09pane.add(emailField, %22cell 1 2,growx%22);%0A%09%09emailField.setColumns(10);%0A%0A%09%09JLabel lblPhone = new JLabel(%22Phone%22);%0A%09%09pane.add(lblPhone, %22cell 0 3%22);%0A%0A%09%09JLabel lblWork = new JLabel(%22Work%22);%0A%09%09pane.add(lblWork, %22cell 0 4,alignx trailing%22);%0A%0A%09%09workNumField = new JTextField();%0A%09%09pane.add(workNumField, %22cell 1 4,growx%22);%0A%09%09workNumField.setColumns(10);%0A%0A%09%09JLabel lblMobile = new JLabel(%22Mobile%22);%0A%09%09pane.add(lblMobile, %22cell 0 5,alignx trailing%22);%0A%0A%09%09mobileNumField = new JTextField();%0A%09%09pane.add(mobileNumField, %22cell 1 5,growx%22);%0A%09%09mobileNumField.setColumns(10);%0A%0A%09%09JLabel lblHome = new JLabel(%22Home%22);%0A%09%09pane.add(lblHome, %22cell 0 6,alignx trailing%22);%0A%0A%09%09homeNumField = new JTextField();%0A%09%09pane.add(homeNumField, %22cell 1 6,growx%22);%0A%09%09homeNumField.setColumns(10
 );%0A%09

Create Basic Layout