private String project_name;
private String issue_date;
public OverviewIssueComponent(int issue_id) {
final IssueModel issue = new IssueModel(issue_id);
ProjectModel project = new ProjectModel(issue.getProject_id());
setMaximumSize(new Dimension(500, 75));
setLayout(new BorderLayout());
setBorder(BorderFactory.createTitledBorder(issue.getDate_created() + " - " + project.getTitle()));
String title = issue.getTitle();
if(title.length() > 80) {
title = title.substring(0,80) + "... ";
}
lbl_title = new JLabel(title);