setBorder(border);
termTitle = new JLabel(mh.getMessage("term_title"));
termTitle.setForeground(GUIConstants.TITLE_FOREGROUND_COLOR);
daysField = new NumericField(new LimitedDocument(3), null, 3);
daysField.setHorizontalAlignment(SwingConstants.RIGHT);
model = daysField.getDocument();
model.addDocumentListener(new DocumentAdapter(daysField, controller));
daysUnitTitle = new JLabel(mh.getMessage("days_unit_title"));
daysUnitTitle.setForeground(GUIConstants.TITLE_FOREGROUND_COLOR);
hoursField = new NumericField(new LimitedDocument(3), null, 3);
hoursField.setHorizontalAlignment(SwingConstants.RIGHT);
model = hoursField.getDocument();
model.addDocumentListener(new DocumentAdapter(hoursField, controller));
hoursUnitTitle = new JLabel(mh.getMessage("hours_unit_title"));
hoursUnitTitle.setForeground(GUIConstants.TITLE_FOREGROUND_COLOR);