package devopsdistilled.operp.client.party;

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

import devopsdistilled.operp.client.abstracts.TaskPane;

public class PartyMgmtPane extends TaskPane {

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

	@Override
	public JComponent getPane() {
		JPanel panel = new JPanel();
		panel.add(new JLabel("Parties Pane"));
		return panel;
	}

}

package devopsdistilled.operp.client.party;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

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

import net.miginfocom.swing.MigLayout;
import devopsdistilled.operp.client.abstracts.TaskPane;

public class PartyMgmtPane extends TaskPane {

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

	/**
	 * @wbp.parser.entryPoint
	 */
	@Override
	public JComponent getPane() {
		JPanel panel = new JPanel();
		panel.setLayout(new MigLayout("", "[]", "[]"));

		JButton btnCreateVendor = new JButton("Create Vendor");
		btnCreateVendor.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {

			}
		});
		panel.add(btnCreateVendor, "cell 0 0");
		return panel;
	}

}

Add "Create Vendor" btn