From c225c23d66b193aa83d1e6071fb7dd833692fa9c Mon Sep 17 00:00:00 2001 From: aareschluchtje Date: Wed, 25 Feb 2015 15:57:34 +0100 Subject: [PATCH] nog een bugfix Main aangepast zodat die overeenkomt met de nieuwe artist klasse --- Main.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Main.java b/Main.java index 767d583..9e72e4a 100644 --- a/Main.java +++ b/Main.java @@ -9,9 +9,9 @@ public class Main { Window w = new Window(); Agenda agn = w.getAgenda(); - Artist a1 = new Artist("Coldplay", "Alternative Rock", "null", "A band"); - Artist a2 = new Artist("Nirvana", "Alternative Rock", "null", "A band whose lead singer is dead"); - Artist a3 = new Artist("Eminem", "Rap", "null", "A very famous rapper"); + 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", "more important information"); + 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 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 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(e2); agn.addEvent(e3);