package devopsdistilled.operp.client.party.panes;

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

import devopsdistilled.operp.client.abstracts.SubTaskPane;
import devopsdistilled.operp.client.party.panes.models.observers.CreateVendorPaneModelObserver;

public class CreateVendorPane extends SubTaskPane implements
		CreateVendorPaneModelObserver {

	private final JPanel pane;

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

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

}

@@ -59,55 +59,254 @@
 java
-x.swing.JComponent;%0Aimport javax.swing.JPanel;%0A
+.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0A%0Aimport javax.swing.JButton;%0Aimport javax.swing.JComponent;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0Aimport javax.swing.JTextField;%0A%0Aimport net.miginfocom.swing.MigLayout;
 %0Aimp
@@ -586,58 +586,1108 @@
 ne;%0A
-%0A%09public CreateVendorPane() %7B%0A%09%09pane = new JPanel(
+%09private final JTextField nameField;%0A%09private final JTextField panVatField;%0A%09private final JButton btnCancel;%0A%09private final JButton btnCreate;%0A%09private final JPanel contactInfopanel;%0A%0A%09public CreateVendorPane() %7B%0A%09%09pane = new JPanel();%0A%09%09pane.setLayout(new MigLayout(%22%22, %22%5B%5D%5Bgrow%5D%22, %22%5B%5D%5B%5D%5Bgrow%5D%5B%5D%22));%0A%0A%09%09JLabel lblVendorName = new JLabel(%22Vendor Name%22);%0A%09%09pane.add(lblVendorName, %22cell 0 0,alignx trailing%22);%0A%0A%09%09nameField = new JTextField();%0A%09%09pane.add(nameField, %22cell 1 0,growx%22);%0A%09%09nameField.setColumns(10);%0A%0A%09%09JLabel lblPanvat = new JLabel(%22PAN/VAT%22);%0A%09%09pane.add(lblPanvat, %22cell 0 1,alignx trailing%22);%0A%0A%09%09panVatField = new JTextField();%0A%09%09pane.add(panVatField, %22cell 1 1,growx%22);%0A%09%09panVatField.setColumns(10);%0A%0A%09%09contactInfopanel = new JPanel();%0A%09%09pane.add(contactInfopanel, %22cell 1 2,grow%22);%0A%0A%09%09btnCancel = new JButton(%22Cancel%22);%0A%09%09btnCancel.addActionListener(new ActionListener() %7B%0A%09%09%09@Override%0A%09%09%09public void actionPerformed(ActionEvent e) %7B%0A%09%09%09%09getDialog().dispose();%0A%09%09%09%7D%0A%09%09%7D);%0A%09%09pane.add(btnCancel, %22flowx,cell 1 3%22);%0A%0A%09%09btnCreate = new JButton(%22Create%22);%0A%09%09pane.add(btnCreate, %22cell 1 3%22
 );%0A%09

Create basic UI Layout