JPanel startDatePanel = new JPanel(
new FlowLayout(FlowLayout.LEFT, 5, 0));
startDatePanel.add(startDateLabel1);
myStartDatePicker = createDatePicker(new ActionListener() {
public void actionPerformed(ActionEvent e) {
setStart(new GanttCalendar(((JXDatePicker)e.getSource()).getDate()), false);
}
});
startDatePanel.add(myStartDatePicker);
//startDatePanel.add(startDateButton1);
JPanel finishDatePanel = new JPanel(new FlowLayout(FlowLayout.LEFT, 5,
0));
finishDatePanel.add(finishDateLabel1);
myEndDatePicker = createDatePicker(new ActionListener() {
public void actionPerformed(ActionEvent e) {
setEnd(new GanttCalendar(((JXDatePicker)e.getSource()).getDate()), false);
}
});
finishDatePanel.add(myEndDatePicker);
//finishDatePanel.add(finishDateButton1);
JPanel thirdDatePanel = new JPanel(
new FlowLayout(FlowLayout.LEFT, 5, 0));
thirdDatePanel.add(thirdDateComboBox);
myThirdDatePicker = createDatePicker(new ActionListener() {
public void actionPerformed(ActionEvent e) {
setThird(new GanttCalendar(((JXDatePicker)e.getSource()).getDate()), false);
}
});
thirdDatePanel.add(myThirdDatePicker);
//thirdDatePanel.add(thirdDateButton1);