import java.awt.Component;

import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.ListCellRenderer;


public class JobRenderer extends JLabel implements ListCellRenderer<Job> 
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Component getListCellRendererComponent(JList<? extends Job> list, Job job, int index, boolean isSelected, boolean cellHasFocus)
	{
		setText(job.getPDFSource().getName() + " test"); 
		return this;
	}

}
