Added files

Added my own unique project files
This commit is contained in:
2015-02-10 14:05:45 +01:00
parent 20c17379a5
commit 407f732e42
10 changed files with 464 additions and 59 deletions
+37
View File
@@ -0,0 +1,37 @@
package nl.kennyboy;
import nl.kennyboy.EventSorter.Mode;
public class Main {
public static void main(String[] args) {
new Main();
}
Agenda agenda;
Window window;
public Main()
{
agenda = new Agenda();
window = new Window();
test();
}
public void test()
{
/*
agenda.add(new Event(2014, 12, 1, 2014, 12, 2, "School", "Naar school gaan kut"));
agenda.add(new Event(2014, 11, 2, 2014, 11, 4, "School2", "Naar school gaan kut"));
agenda.sort(Mode.SORT_LENGTH_DESC);
window.setText(agenda + "");
SaveLoad.saveFile(agenda);
*/
agenda = (Agenda) SaveLoad.loadFile();
window.setText(agenda + "");
}
}