.createInscreverCurso16()) {
private static final long serialVersionUID = -3740641486544520951L;
public void actionPerformed(ActionEvent e) {
FilaInscricao filaInscricao = (FilaInscricao) getTable().getValueAt(
getTable().getSelectedRows()[0], -1);
JComponent form = InscricaoView.getInstance(filaInscricao);
Main.getInstance().buildPanel(form);
}
};
inscreveUsuario.setAction(actionInscreveUsuario);
inscreveUsuario.setText("Inscrever usu�rio");
inscreveUsuario.setToolTipText("Inscreve o usu�rio na turma escolhida");
inscreveUsuario.setEnabled(false);
addToolBarButton(inscreveUsuario);
Action actionRemove = new AbstractAction("", IconFactory.createDelete()) {
private static final long serialVersionUID = -682713136806774411L;
public void actionPerformed(ActionEvent e) {
Integer action = ConfirmationView.showDeleteConfirmation("Excluir esse usu�rio da fila de inscri��o?");
switch (action){
case ConfirmViewAction.YES:
FilaInscricao le = (FilaInscricao) getTable().getValueAt(
getTable().getSelectedRows()[0], -1);
try {
FilaInscricaoDataServices.remove(le.getId());
getTableModel().refresh();
} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}