|
|
@@ -32,7 +32,7 @@ import agenda.Stage;
|
|
|
public class ActDialogPanel extends JDialog{
|
|
|
|
|
|
private Agenda agenda;
|
|
|
- private JTextField name, genre;
|
|
|
+ private JTextField name, genre, beginTime, endTime;
|
|
|
private JComboBox stageComboBox;
|
|
|
|
|
|
private DefaultListModel model;
|
|
|
@@ -140,10 +140,33 @@ public class ActDialogPanel extends JDialog{
|
|
|
}
|
|
|
|
|
|
private JPanel dates(){
|
|
|
- JPanel dates = new JPanel();
|
|
|
+ JPanel dates = new JPanel();
|
|
|
+ dates.setLayout(new BoxLayout(dates, BoxLayout.Y_AXIS));
|
|
|
+ dates.add(this.beginTime());
|
|
|
+ dates.add(this.endTime());
|
|
|
return dates;
|
|
|
}
|
|
|
|
|
|
+ private JPanel beginTime(){
|
|
|
+ JPanel panel = new JPanel();
|
|
|
+ panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
|
|
|
+ panel.add(new JLabel("begintijd"));
|
|
|
+ this.beginTime = new JTextField();
|
|
|
+ panel.add(this.beginTime);
|
|
|
+ return panel;
|
|
|
+ }
|
|
|
+
|
|
|
+ private JPanel endTime(){
|
|
|
+ JPanel panel = new JPanel();
|
|
|
+ panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
|
|
|
+ panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
|
|
|
+ panel.add(new JLabel("eindtijd"));
|
|
|
+ this.endTime = new JTextField();
|
|
|
+ panel.add(this.endTime);
|
|
|
+
|
|
|
+ return panel;
|
|
|
+ }
|
|
|
+
|
|
|
private JPanel artistsChooser(){
|
|
|
JPanel artists = new JPanel();
|
|
|
artists.setLayout(new BoxLayout(artists, BoxLayout.X_AXIS));
|
|
|
@@ -223,6 +246,8 @@ public class ActDialogPanel extends JDialog{
|
|
|
return artists;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
private JPanel buttons(){
|
|
|
JPanel buttons = new JPanel();
|
|
|
|