package devopsdistilled.operp.client.abstracts;

public abstract class TaskPane extends ViewPane {

	@Override
	public abstract String toString();

}

@@ -46,105 +46,953 @@
 s;%0A%0A
-public abstract class TaskPane extends ViewPane %7B%0A%0A%09@Override%0A%09public abstract String toString();
+import java.awt.Dimension;%0Aimport java.awt.Font;%0Aimport java.awt.Graphics;%0Aimport java.awt.Image;%0Aimport java.awt.image.BufferedImage;%0A%0Aimport javax.swing.Icon;%0Aimport javax.swing.ImageIcon;%0Aimport javax.swing.JButton;%0Aimport javax.swing.SwingConstants;%0A%0Apublic abstract class TaskPane extends ViewPane %7B%0A%0A%09@Override%0A%09public abstract String toString();%0A%09%0A%09public  Icon SetSizeForImage(ImageIcon icon)%7B%0A%09%09Image img=icon.getImage();%0A%09%09BufferedImage bi=new BufferedImage(70, 60, BufferedImage.TYPE_INT_ARGB);%0A%09%09Graphics g=bi.createGraphics();%0A%09%09g.drawImage(img,0,0,70,60, null);%0A%09%09Icon newIcon=new ImageIcon(bi);%0A%09%09return newIcon;%0A%09%09%0A%09%7D%0A%09%0A%09public JButton SetButtonSize(JButton btn)%7B%0A%09%09btn.setMaximumSize(new Dimension(90, 90));%0A%09%09btn.setMinimumSize(new Dimension(90,90));%0A%09%09btn.setHorizontalTextPosition(SwingConstants.CENTER);%0A%09%09btn.setVerticalTextPosition(SwingConstants.BOTTOM);%0A%09%09btn.setFont(new Font(%22Arial%22, Font.PLAIN, 10));%0A%09%09return btn;%0A%09%7D
 %0A%0A%7D%0A

Add methods for imageResizing and setting button size