public void inicio(Curso curso) throws Exception
	{
		salvar = new JButton("Salvar");
		id = new JTextInt(curso.getId());
		id.setEditable(false);
		id.setEnabled(false);
		nome = new JTextField(curso.getNome() == null ? "" : curso.getNome());

		JPanel pp = new JPanel();
		DesignGridLayout layout = new DesignGridLayout(pp);
		layout.row().grid(new JLabel("ID:")).add(id);
		layout.row().grid(new JLabel("Nome:")).add(nome);

		layout.row().grid().add(salvar, 1);
		getContentPane().add(new JScrollPane(pp));
		pack();
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setSize(400, 200);
		setLocationRelativeTo(null);
		setVisible(true);
	}