Improved Backend

This commit is contained in:
2019-04-28 11:19:53 +02:00
parent c4ed32689d
commit 02e63e14c0
29 changed files with 175 additions and 42 deletions

View File

@@ -0,0 +1,25 @@
package customNodes;
import javafx.geometry.Insets;
import javafx.scene.control.TextArea;
public class LogTextArea extends TextArea{
private final int WIDTH = 500;
private final int HEIGHT = 515;
public LogTextArea() {
this.setLayoutX(25);
this.setLayoutY(65);
this.setEditable(false);
this.setMinWidth(WIDTH);
this.setMaxWidth(WIDTH);
this.setPadding(new Insets(0,0,0,-10));
this.setMinHeight(HEIGHT);
this.setMaxHeight(HEIGHT);
this.setStyle("-fx-background-color: transparent;"
+ "-fx-control-inner-background: white;"
+ "-fx-text-fill: black");
}
}

View File

@@ -0,0 +1,16 @@
package customNodes;
import javafx.scene.control.Button;
import javafx.scene.paint.Color;
public class NewUpdateButton extends Button{
public NewUpdateButton(String text) {
this.setText(text);
this.setLayoutX(550);
this.setLayoutY(400);
this.setTextFill(Color.WHITE);
this.setStyle("-fx-background-color: blue");
}
}