UIManager.put("OptionPane.cancelButtonText", bundle.getString("cancelar"));
String status = (String) JOptionPane.showInputDialog(null, "Status:", "Status", 1, null,
nomes, Status.DISPONIVEL);
Voo vooModel = new VooModel();
if (status != null) {
int[] rows = tabela.getSelectedRows();
for (int i = 0; i < rows.length; i++) {
Voo pojo = list.get(rows[i]);
vooModel.controlarStatus(pojo.getId(), Status.fromString(status));
}
JOptionPane.showMessageDialog(null, bundle.getString("status.voo.joption.ok"));
conteudo.removeAll();