.createVisitaAtiva16()) {
private static final long serialVersionUID = 0L;
public void actionPerformed(ActionEvent e) {
Turma t = (Turma) getTable().getValueAt(
getTable().getSelectedRows()[0], -1);
try {
InscricaoDataServices.inscreveUsuario(usuario, t);
getTableModel().refresh();
InscritosRefresher.refresh(t.getCurso());
Main.getInstance().buildPanel(UsuarioSearch.getInstance());
} catch (SemVagasException e1) {
JOptionPane.showMessageDialog(null, e1.getMessage());
} catch (Exception e1) {