private void bindEvent() {
		saveItem.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				// TODO Auto-generated method stub
				for(int i = 0 ; i < subImages.length ; i++) {
					bi = subImages[i];
					outputfile = new File("gfx/map" + i + ".png");
					try {
						ImageIO.write(bi, "png", outputfile);
					} catch (IOException e1) {
						// TODO Auto-generated catch block
						e1.printStackTrace();
					}
				}
			}
		});
	}