diff --git a/.classpath b/.classpath index e943848..cb89fff 100644 --- a/.classpath +++ b/.classpath @@ -11,5 +11,6 @@ + diff --git a/src/zutil/log/net/NetLogGuiClientInstance.java b/src/zutil/log/net/NetLogGuiClientInstance.java index 99696a4..1099f75 100644 --- a/src/zutil/log/net/NetLogGuiClientInstance.java +++ b/src/zutil/log/net/NetLogGuiClientInstance.java @@ -60,6 +60,7 @@ public class NetLogGuiClientInstance implements Initializable, NetLogListener { @FXML private ToggleButton pauseButton; @FXML private Label logCountLabel; @FXML private ProgressBar progressBar; + @FXML private Label errorLabel; @FXML private TableView logTable; @FXML private TableColumn logTimestampColumn; @@ -82,6 +83,7 @@ public class NetLogGuiClientInstance implements Initializable, NetLogListener { }catch(Exception e){ logger.log(Level.SEVERE, null, e); status = Status.DISCONNECTED; + errorLabel.setText(e.getMessage()); } updateStatus(); diff --git a/src/zutil/log/net/NetLoggerClientInstance.fxml b/src/zutil/log/net/NetLoggerClientInstance.fxml index a43a7de..a16eb22 100644 --- a/src/zutil/log/net/NetLoggerClientInstance.fxml +++ b/src/zutil/log/net/NetLoggerClientInstance.fxml @@ -8,12 +8,18 @@ + +