Improved Backend
This commit is contained in:
25
QuickLaunchUpdateServer/src/customNodes/LogTextArea.java
Normal file
25
QuickLaunchUpdateServer/src/customNodes/LogTextArea.java
Normal 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");
|
||||
}
|
||||
|
||||
}
|
||||
16
QuickLaunchUpdateServer/src/customNodes/NewUpdateButton.java
Normal file
16
QuickLaunchUpdateServer/src/customNodes/NewUpdateButton.java
Normal 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");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user