m1.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
try {
Command adicionaColuna = new AdicionarColunaCommand(view, "Adicionando coluna...");
adicionaColuna.execute();
} catch (Exception ex) {
ErrorInfo info = new ErrorInfo("Erro", ex.getMessage(), null, "category", ex, Level.SEVERE, null);
JXErrorPane.showDialog(view, info);
}
}