nog een bugfix

Main aangepast zodat die overeenkomt met de nieuwe artist klasse
This commit is contained in:
aareschluchtje
2015-02-25 15:57:34 +01:00
parent 08b63eb2ec
commit c225c23d66
+7 -3
View File
@@ -9,9 +9,9 @@ public class Main {
Window w = new Window(); Window w = new Window();
Agenda agn = w.getAgenda(); Agenda agn = w.getAgenda();
Artist a1 = new Artist("Coldplay", "Alternative Rock", "null", "A band"); Artist a1 = new Artist("Coldplay", "Alternative Rock", "null", "A band", "more important information");
Artist a2 = new Artist("Nirvana", "Alternative Rock", "null", "A band whose lead singer is dead"); Artist a2 = new Artist("Nirvana", "Alternative Rock", "null", "A band whose lead singer is dead", "more important information");
Artist a3 = new Artist("Eminem", "Rap", "null", "A very famous rapper"); Artist a3 = new Artist("Eminem", "Rap", "null", "A very famous rapper", "more important information");
Stage s1 = new Stage("Rock Stage", "Stage for Rock and Alternative Rock concerts"); Stage s1 = new Stage("Rock Stage", "Stage for Rock and Alternative Rock concerts");
Stage s2 = new Stage("Rap Stage", "Stage for Rap concerts"); Stage s2 = new Stage("Rap Stage", "Stage for Rap concerts");
@@ -20,6 +20,10 @@ public class Main {
Event e3 = new Event("Nirvana in memory", 2015, 2, 24, 16, 30, 2015, 2, 24, 20, 45, a2, s1, "A concert in memory of a once very famous band", 4); Event e3 = new Event("Nirvana in memory", 2015, 2, 24, 16, 30, 2015, 2, 24, 20, 45, a2, s1, "A concert in memory of a once very famous band", 4);
Event e4 = new Event("Epic Rap Battles of History", 2015, 3, 3, 12, 30, 2015, 3, 12, 18, 45, a3, s2, "Rap battle with Eminem and ERP", 3); Event e4 = new Event("Epic Rap Battles of History", 2015, 3, 3, 12, 30, 2015, 3, 12, 18, 45, a3, s2, "Rap battle with Eminem and ERP", 3);
//TabbedPane tab = new TabbedPane(e1, true);
//TabbedPane tab2 = new TabbedPane(e3, false);
//TabbedPane tab3 = new TabbedPane(e4, true);
agn.addEvent(e1); agn.addEvent(e1);
agn.addEvent(e2); agn.addEvent(e2);
agn.addEvent(e3); agn.addEvent(e3);