public FormMain(EventController contr) throws IOException {

		super(new BorderLayout());
		con = contr;
		initComponants();
		DefaultFormBuilder builder = new DefaultFormBuilder(new FormLayout(""));
		builder.appendColumn("right:pref");
		builder.append(createForm());
		builder.nextLine();
		builder.append(btnExit);
		JPanel panel = new JPanel();
		// panel.setBorder(new EmptyBorder(5, 10, 5, 10));
		panel.add(builder.getPanel());
		add(panel);
	}