Caros colegas,
Gostaria de saber se alguém sabe por que meu código não esta salvando as informações no meu setup.properties. Segue o código:try {
Properties properties2 = new Properties();
properties2.load(new FileInputStream("setup.properties"));
for (int i=0; i < 28; i++) {
col = i;
linha = (String)jTable1.getModel().getValueAt(col,row);
coluna = (String)jTable1.getModel().getValueAt(col,row2);
linha = "HA." + linha.replace(" ",".");
properties2.put(linha,coluna);
}
FileOutputStream temp = new FileOutputStream("setup.properties");
properties2.save(temp, null)
}
properties2.list(System.out);
Muito obrigado,
Andre Luiz
