private void criarDAO(){
ProfessorTelaDAO = DAOFactoryProvider.factory.createDAO(ProfessorTela.class);
}
private void inicializarTabela(){
table = new JBeanTable(model);
table.addDoubleClickAction(new ApplicationAction() {
public void execute() {
professorTelaAtual= model.getBeanAt(table.getSelectedRow());
panelFormulario.setBean(professorTelaAtual);