package devopsdistilled.operp.client.main;

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

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

public class DefaultTaskPane extends TaskPane {

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

	@Override
	public JComponent getPane() {
		JPanel panel = new JPanel();
		panel.setLayout(new MigLayout(""));
		panel.add(new JLabel("DefaultTaskPane"));
		return panel;
	}

	@Override
	public Icon getIcon() {
		Icon icon=new ImageIcon(getClass().getResource("/client/icons/ERP_24.png"));
		return icon;

	}
}

@@ -376,20 +376,52 @@
 rn %22
-OpERP
 %22;%0A%09%7D%0A%0A
+%09/**%0A%09 * @wbp.parser.entryPoint%0A%09 */%0A
 %09@Ov
@@ -638,17 +638,19 @@
 con icon
-=
+ = 
 new Imag
@@ -678,16 +678,21 @@
 esource(
+%0A%09%09%09%09
 %22/client
@@ -702,17 +702,20 @@
 ons/
-ERP_24.pn
+OpErpLogo.jp
 g%22))

Set Logo as Icon