//middle panel (title and status bar):
pnlMain = new JPanel();
pnlMain.setLayout(new BoxLayout(pnlMain, BoxLayout.Y_AXIS));
//job name:
TaskDescription taskDesc = jobEntry.getTaskDescription();
String jobName = taskDesc == null ?
"Unnamed task" : taskDesc.getName();
lblJobName = new JLabel("<html><b>Job:</b> " + jobName + "</html>");
lblJobName.setToolTipText("Job ID: " + jobEntry.getJobId());
AppStyles.applyStyle(lblJobName, ".job-status label.jobName");