public static void main(String[] args) {
    	BufferedImage bi = new BufferedImage(128, 128, BufferedImage.TYPE_INT_ARGB);
    	Graphics g = bi.getGraphics();
    	g.setColor(new Color(0, 0, 0));
    	g.fillRect(0, 0, 128, 128);
    	
    	try {
			ImageIO.write(bi, "PNG", new FileOutputStream(new File("terrain.png")));
		} catch (FileNotFoundException e1) {
			e1.printStackTrace();
		} catch (IOException e1) {
			e1.printStackTrace();
		}
    	
    	try {
			UIManager.setLookAndFeel(
			        UIManager.getSystemLookAndFeelClassName());
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			e.printStackTrace();
		}
    	
        new MapMaker().setVisible(true);
    }