<commit_before>package devopsdistilled.operp.client.abstracts;

import java.awt.Dimension;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.SwingConstants;

public abstract class TaskPane extends ViewPane {

	@Override
	public abstract String toString();
	
	public  Icon SetSizeForImage(ImageIcon icon){
		Image img=icon.getImage();
		BufferedImage bi=new BufferedImage(70, 60, BufferedImage.TYPE_INT_ARGB);
		Graphics g=bi.createGraphics();
		g.drawImage(img,0,0,70,60, null);
		Icon newIcon=new ImageIcon(bi);
		return newIcon;
		
	}
	
	public JButton SetButtonSize(JButton btn){
		btn.setMaximumSize(new Dimension(90, 90));
		btn.setMinimumSize(new Dimension(90,90));
		btn.setHorizontalTextPosition(SwingConstants.CENTER);
		btn.setVerticalTextPosition(SwingConstants.BOTTOM);
		btn.setFont(new Font("Arial", Font.PLAIN, 10));
		return btn;
	}
<commit_msg>Remove SetButton Size functionalities from class "TaskPane"<commit_after>package devopsdistilled.operp.client.abstracts;


public abstract class TaskPane extends ViewPane {

	@Override
	public abstract String toString();

{'fraction_non_alphanumeric': 0.10378117457763475, 'fraction_numerical': 0.016090104585679808, 'mean_word_length': 6.068181818181818, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6817904', 'n_tokens_mistral': 427, 'n_tokens_neox': 394, 'n_words': 87}