Commit 9dbe7a41 by Patryk Czarnik

pamiętanie wybranej waluty

parent f040c166
......@@ -431,6 +431,8 @@ public class PrzelicznikWalutOkno {
private void odswiezDaneTabeli() {
lbl_NumerTabeli.setText(tabela.getNumerTabeli());
lbl_DataTabeli.setText("" + tabela.getData());
Object wybranaWaluta = comboBox_Waluta.getSelectedItem();
comboBox_Waluta.setModel(new DefaultComboBoxModel<>(tabela.getKodyWalut()));
comboBox_Waluta.setSelectedItem(wybranaWaluta);
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment