package devopsdistilled.operp.client.view.taskpane;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingUtilities;

import devopsdistilled.operp.client.view.MainWindow;
import devopsdistilled.operp.client.view.taskpane.iface.TaskPane;

public class PurchasesPane implements TaskPane {
	@Override
	public String toString() {
		return "Purchases";
	}

	@Override
	public void makeCurrentWorkingTaskPane() {
		pane = new JPanel();
		pane.add(new JLabel("From Purchases Pane"));
		SwingUtilities.invokeLater(new Runnable() {

			@Override
			public void run() {
				MainWindow.getInstance().setTaskPane(pane);

			}
		});
		
	}
}

@@ -305,16 +305,39 @@
 kPane %7B%0A
+%09private JPanel pane;%0A%0A
 %09@Overri
@@ -661,16 +661,14 @@
 %7D%0A%09%09%7D);%0A
-%09%09
 %0A%09%7D%0A%7D%0A

Create field variable pane