Added files and launching login.css ui
This commit is contained in:
parent
0296333733
commit
da24f73f46
@ -15,10 +15,18 @@ public class MainApplication extends Application {
|
||||
|
||||
Scene scene = new Scene(fxmlLoader.load(), 1200, 700);
|
||||
scene.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("main-view.css")).toExternalForm());
|
||||
stage.setTitle("Hello!");
|
||||
stage.setTitle("SharePlaner");
|
||||
stage.setScene(scene);
|
||||
stage.show();
|
||||
|
||||
FXMLLoader fxmlLoaderLogin = new FXMLLoader(MainApplication.class.getResource("../users/login.fxml"));
|
||||
Scene sceneLogin = new Scene(fxmlLoaderLogin.load(), 650, 500);
|
||||
sceneLogin.getStylesheets().add(Objects.requireNonNull(MainApplication.class.getResource("../users/login.css")).toExternalForm());
|
||||
Stage stageLogin = new Stage();
|
||||
stageLogin.setTitle("Anmelden");
|
||||
stageLogin.setScene(sceneLogin);
|
||||
stageLogin.show();
|
||||
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
4
client/app/src/main/java/users/LoginControler.java
Normal file
4
client/app/src/main/java/users/LoginControler.java
Normal file
@ -0,0 +1,4 @@
|
||||
package users;
|
||||
|
||||
public class LoginControler {
|
||||
}
|
0
client/app/src/main/resources/users/login.css
Normal file
0
client/app/src/main/resources/users/login.css
Normal file
11
client/app/src/main/resources/users/login.fxml
Normal file
11
client/app/src/main/resources/users/login.fxml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import java.lang.*?>
|
||||
<?import java.util.*?>
|
||||
<?import javafx.scene.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<GridPane xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="users.LoginControler">
|
||||
|
||||
</GridPane>
|
Loading…
Reference in New Issue
Block a user