mirror of
https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git
synced 2024-11-16 21:33:21 +00:00
Module Client, clss StatScreenView : suppr de l'utilisation de la clss com.sun.deploy.util.StringUtils
This commit is contained in:
parent
ea4ccd6601
commit
03572139b7
@ -2,7 +2,6 @@ package com.pqt.client.gui.modules.stat_screen;
|
||||
|
||||
import com.pqt.client.gui.ressources.components.generics.IFXComponent;
|
||||
import com.pqt.client.gui.ressources.css.GUICssTool;
|
||||
import com.sun.deploy.util.StringUtils;
|
||||
import javafx.application.Platform;
|
||||
import javafx.scene.control.TextArea;
|
||||
import javafx.scene.layout.Pane;
|
||||
@ -43,7 +42,7 @@ class StatScreenView implements IFXComponent {
|
||||
.map(key->String.format(" * %s : %s", key, statistics.get(key)))
|
||||
.collect(Collectors.toList()));
|
||||
|
||||
Platform.runLater(()->statTextArea.setText(StringUtils.join(lines, "\n")));
|
||||
Platform.runLater(()->lines.forEach(line -> statTextArea.appendText(line+"\n")));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user