package devopsdistilled.operp.client.items.panes;

import java.util.List;

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

import devopsdistilled.operp.client.abstracts.SubTaskPane;
import devopsdistilled.operp.client.items.models.observers.ManufacturerModelObserver;
import devopsdistilled.operp.client.items.panes.models.observers.CreateBrandPaneModelObserver;
import devopsdistilled.operp.server.data.entity.items.Manufacturer;

public class CreateBrandPane extends SubTaskPane implements
		CreateBrandPaneModelObserver, ManufacturerModelObserver {

	private final JPanel pane;

	public CreateBrandPane() {
		pane = new JPanel();
		// TODO
	}

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

	@Override
	public void updateManufacturers(List<Manufacturer> manufacturers) {
		// TODO Auto-generated method stub

	}

}

@@ -92,46 +92,201 @@
 ng.J
-Component;%0Aimport javax.swing.JPanel;%0A
+Button;%0Aimport javax.swing.JComboBox;%0Aimport javax.swing.JComponent;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0Aimport javax.swing.JTextField;%0A%0Aimport net.miginfocom.swing.MigLayout;
 %0Aimp
@@ -739,16 +739,58 @@
 el pane;
+%0A%09private final JTextField brandNameField;
 %0A%0A%09publi
@@ -834,16 +834,808 @@
 anel();%0A
+%09%09pane.setLayout(new MigLayout(%22%22, %22%5B%5D%5Bgrow%5D%22, %22%5B%5D%5B%5D%5B%5D%5B%5D%22));%0A%09%09%0A%09%09JLabel lblBrandName = new JLabel(%22Brand Name%22);%0A%09%09pane.add(lblBrandName, %22cell 0 0,alignx trailing%22);%0A%09%09%0A%09%09brandNameField = new JTextField();%0A%09%09pane.add(brandNameField, %22cell 1 0,growx%22);%0A%09%09brandNameField.setColumns(10);%0A%09%09%0A%09%09JLabel lblManufacturer = new JLabel(%22Manufacturer%22);%0A%09%09pane.add(lblManufacturer, %22cell 0 1,alignx trailing%22);%0A%09%09%0A%09%09JComboBox manufacturerCombo = new JComboBox();%0A%09%09pane.add(manufacturerCombo, %22flowx,cell 1 1,growx%22);%0A%09%09%0A%09%09JButton btnNewManufacturer = new JButton(%22New Manufacturer%22);%0A%09%09pane.add(btnNewManufacturer, %22cell 1 1%22);%0A%09%09%0A%09%09JButton btnCancel = new JButton(%22Cancel%22);%0A%09%09pane.add(btnCancel, %22flowx,cell 1 3%22);%0A%09%09%0A%09%09JButton btnCreate = new JButton(%22Create%22);%0A%09%09pane.add(btnCreate, %22cell 1 3%22);%0A
 %09%09// TOD

Create Basic Layout