package devopsdistilled.operp.client.sales;

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

import devopsdistilled.operp.client.abstracts.TaskPane;

public class SalesMgmtPane extends TaskPane {

	@Override
	public String toString() {
		return new String("Sales Management");
	}

	@Override
	public JComponent getPane() {
		JPanel pane = new JPanel();
		pane.add(new JLabel("Sales Management"));
		return pane;
	}

}

@@ -38,16 +38,140 @@
 sales;%0A%0A
+import java.awt.Font;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0A%0Aimport javax.swing.JButton;%0A
 import j
@@ -189,24 +189,24 @@
 JComponent;%0A
-
 import javax
@@ -248,16 +248,55 @@
 Panel;%0A%0A
+import net.miginfocom.swing.MigLayout;%0A
 import d
@@ -475,16 +475,53 @@
 %22);%0A%09%7D%0A%0A
+%09/**%0A%09 * @wbp.parser.entryPoint%0A%09 */%0A
 %09@Overri
@@ -595,42 +595,434 @@
 ane.
-add(new JLabel(%22Sales Management%22)
+setLayout(new MigLayout(%22%22, %22%5B136px,grow%5D%22, %22%5B15px%5D%5B%5D%5B%5D%22));%0A%09%09pane.add(new JLabel(%22Sales Management%22),%0A%09%09%09%09%22cell 0 0 2097051 1,alignx center,aligny top%22);%0A%0A%09%09JButton btnNewSale = new JButton(%22New Sale%22);%0A%09%09btnNewSale.addActionListener(new ActionListener() %7B%0A%09%09%09@Override%0A%09%09%09public void actionPerformed(ActionEvent e) %7B%0A%09%09%09%7D%0A%09%09%7D);%0A%09%09btnNewSale.setFont(new Font(%22DejaVu Sans%22, Font.PLAIN, 12));%0A%09%09pane.add(btnNewSale, %22cell 0 2%22
 );%0A%09

Add "New Sale" button