36,7 → 36,7 |
|
private int id = 0; |
private EditorGrid<Valeur> grille; |
private int nbLogs = Integer.valueOf(((Dictionary) Dictionary.getDictionary("configuration")).get("nbLogs")); |
//private int nbLogs = Integer.valueOf(((Dictionary) Dictionary.getDictionary("configuration")).get("nbLogs")); |
private ListStore<Valeur> store; |
public FenetreJournal(Mediateur mediateur) { |
|
85,9 → 85,9 |
v.set("heure", getDate()); |
store.add(v); |
|
if (store.getModels().size() > nbLogs) { |
store.remove(store.getAt(nbLogs)); |
} |
//if (store.getModels().size() > nbLogs) { |
//store.remove(store.getAt(nbLogs)); |
//} |
} |
} |
|