/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package kcl.waterloo.demo;
import java.awt.EventQueue;
import java.io.IOException;
import java.util.LinkedHashMap;
import kcl.waterloo.graphics.GJGraphContainer;
import kcl.waterloo.swing.GCGridContainer;
/**
*
* @author Malcolm Lidierth, King's College London [Contact]
*/
public class Main {
/**
* @param args the command line arguments
* @throws IOException
*/
@SuppressWarnings(value = "unchecked")
public static void main(String[] args) throws IOException {
EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
Demo.demo1();
Demo.demo2();
Demo.demo3();
Demo.demo4();
LinkedHashMap o;
o = (LinkedHashMap) Demo.file1();
((GCGridContainer) o.get("Graphics")).createFrame();
o = (LinkedHashMap) Demo.file2();
((GJGraphContainer) o.get("Graphics")).createFrame();
o = (LinkedHashMap) Demo.file3();
((GJGraphContainer) o.get("Graphics")).createFrame();
o = (LinkedHashMap) Demo.file4();
((GJGraphContainer) o.get("Graphics")).createFrame();
o = (LinkedHashMap) Demo.file5();
((GJGraphContainer) o.get("Graphics")).createFrame();
o = (LinkedHashMap) Demo.file6();
((GJGraphContainer) o.get("Graphics")).createFrame();
o = (LinkedHashMap) Demo.file7();
((GCGridContainer) o.get("Graphics")).createFrame();
o = (LinkedHashMap) Demo.file8();
((GJGraphContainer) o.get("Graphics")).createFrame();
}
});
}
}
Ads help maintain this website.