Uppdated classpath with javafx plugin, and added error label on the NetLog GUI
This commit is contained in:
parent
27b12e1b9b
commit
0dfd6cc049
3 changed files with 9 additions and 0 deletions
|
|
@ -11,5 +11,6 @@
|
|||
<classpathentry kind="lib" path="libs/mysql-connector-java-5.1.14-bin.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0"/>
|
||||
<classpathentry kind="con" path="at.bestsolution.efxclipse.tooling.jdt.core.JAVAFX_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
|
|
|||
|
|
@ -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<NetLogMessage> logTable;
|
||||
@FXML private TableColumn<NetLogMessage, Long> 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();
|
||||
|
||||
|
|
|
|||
|
|
@ -8,12 +8,18 @@
|
|||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.paint.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
|
||||
<BorderPane xmlns:fx="http://javafx.com/fxml" fx:controller="zutil.log.net.NetLogGuiClientInstance">
|
||||
<bottom>
|
||||
<ToolBar maxHeight="22.0" minHeight="19.0" prefHeight="22.0" prefWidth="839.0">
|
||||
<items>
|
||||
<ProgressBar fx:id="progressBar" prefWidth="200.0" progress="0.0" style="" />
|
||||
<Label fx:id="errorLabel" text="" textFill="RED">
|
||||
<font>
|
||||
<Font size="11.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Region HBox.Hgrow="ALWAYS" />
|
||||
<Separator orientation="VERTICAL" prefHeight="200.0" valignment="CENTER" />
|
||||
<Label fx:id="logCountLable" text="80">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue