public static void main(String[] args) {
		display = Display.getDefault();
		
		shell = new Shell();
		shell.setMaximized(true);
		shell.setText("数字图像处理作业(1130332054 - 谢晓华)");
		shell.setLayout(new GridLayout(1,false));
		
		createContents();
		
		shell.open();
		shell.layout();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
	}