// retrieve the colors used for each chart bar, and register those
// colors with the schedule rows so they can act as a legend
for (int i = scheduleRows.size(); i-- > 0;) {
ScheduleTableRow oneRow = scheduleRows.get(i);
oneRow.addColoredIcon(renderer.lookupSeriesPaint(i));
}
}
private void addButtons(JDialog dialog, JPanel panel, int gridY) {
Box buttonBox = BoxUtils.hbox( //