| @@ -0,0 +1,37 @@ | ||
| package TGEU; | ||
|
|
||
| import javafx.application.Application; | ||
| import javafx.fxml.FXMLLoader; | ||
| import javafx.scene.Scene; | ||
| import javafx.scene.image.Image; | ||
| import javafx.scene.layout.Pane; | ||
| import javafx.stage.Stage; | ||
|
|
||
| public class Main extends Application { | ||
| Stage stage; | ||
| Pane pane; | ||
|
|
||
|
|
||
| public static void main(String[] args) { | ||
| launch(args); | ||
| } | ||
|
|
||
| @Override | ||
| public void start(Stage primaryStage) throws Exception { | ||
| primaryStage.getIcons().add(new Image("file:icon.png")); | ||
| stage = primaryStage; | ||
|
|
||
| stage.getIcons().add(new Image("file:1478341507_weightlift.ico")); | ||
|
|
||
| pane = FXMLLoader.load(getClass().getResource("Login.fxml")); | ||
| Scene scene = new Scene(pane, 350, 500); | ||
|
|
||
| primaryStage.setResizable(false); | ||
| primaryStage.setScene(scene); | ||
| LoginController.setStage(stage); | ||
| primaryStage.setTitle("Gym Bro"); | ||
| primaryStage.show(); | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,37 @@ | ||
| package TGEU; | ||
|
|
||
| import javafx.application.Application; | ||
| import javafx.fxml.FXMLLoader; | ||
| import javafx.scene.Scene; | ||
| import javafx.scene.image.Image; | ||
| import javafx.scene.layout.Pane; | ||
| import javafx.stage.Stage; | ||
|
|
||
| public class Main extends Application { | ||
| Stage stage; | ||
| Pane pane; | ||
|
|
||
|
|
||
| public static void main(String[] args) { | ||
| launch(args); | ||
| } | ||
|
|
||
| @Override | ||
| public void start(Stage primaryStage) throws Exception { | ||
| primaryStage.getIcons().add(new Image("file:icon.png")); | ||
| stage = primaryStage; | ||
|
|
||
| stage.getIcons().add(new Image("file:icon.png")); | ||
|
|
||
| pane = FXMLLoader.load(getClass().getResource("Login.fxml")); | ||
| Scene scene = new Scene(pane, 350, 500); | ||
|
|
||
| primaryStage.setResizable(false); | ||
| primaryStage.setScene(scene); | ||
| LoginController.setStage(stage); | ||
| primaryStage.setTitle("Gym Bro"); | ||
| primaryStage.show(); | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,36 @@ | ||
| package TGEU; | ||
|
|
||
| import javafx.application.Application; | ||
| import javafx.fxml.FXMLLoader; | ||
| import javafx.scene.Scene; | ||
| import javafx.scene.image.Image; | ||
| import javafx.scene.layout.Pane; | ||
| import javafx.stage.Stage; | ||
|
|
||
| public class Main extends Application { | ||
| Stage stage; | ||
| Pane pane; | ||
|
|
||
|
|
||
| public static void main(String[] args) { | ||
| launch(args); | ||
| } | ||
|
|
||
| @Override | ||
| public void start(Stage primaryStage) throws Exception { | ||
| stage.getIcons().add( new Image( Main.class.getResourceAsStream("file:icon.png")); | ||
| //.class.getResourceAsStream( "icon.png" ))); | ||
| stage = primaryStage; | ||
|
|
||
| pane = FXMLLoader.load(getClass().getResource("Login.fxml")); | ||
| Scene scene = new Scene(pane, 350, 500); | ||
|
|
||
| primaryStage.setResizable(false); | ||
| primaryStage.setScene(scene); | ||
| LoginController.setStage(stage); | ||
| primaryStage.setTitle("Gym Bro"); | ||
| primaryStage.show(); | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,35 @@ | ||
| package TGEU; | ||
|
|
||
| import javafx.application.Application; | ||
| import javafx.fxml.FXMLLoader; | ||
| import javafx.scene.Scene; | ||
| import javafx.scene.image.Image; | ||
| import javafx.scene.layout.Pane; | ||
| import javafx.stage.Stage; | ||
|
|
||
| public class Main extends Application { | ||
| Stage stage; | ||
| Pane pane; | ||
|
|
||
|
|
||
| public static void main(String[] args) { | ||
| launch(args); | ||
| } | ||
|
|
||
| @Override | ||
| public void start(Stage primaryStage) throws Exception { | ||
| primaryStage.getIcons().add(new Image(Main.class.getResource("icon2.png").toExternalForm())); | ||
| stage = primaryStage; | ||
|
|
||
| pane = FXMLLoader.load(getClass().getResource("Login.fxml")); | ||
| Scene scene = new Scene(pane, 350, 500); | ||
|
|
||
| primaryStage.setResizable(false); | ||
| primaryStage.setScene(scene); | ||
| LoginController.setStage(stage); | ||
| primaryStage.setTitle("Gym Bro"); | ||
| primaryStage.show(); | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,36 @@ | ||
| package TGEU; | ||
|
|
||
| import javafx.application.Application; | ||
| import javafx.fxml.FXMLLoader; | ||
| import javafx.scene.Scene; | ||
| import javafx.scene.image.Image; | ||
| import javafx.scene.layout.Pane; | ||
| import javafx.stage.Stage; | ||
|
|
||
| public class Main extends Application { | ||
| Stage stage; | ||
| Pane pane; | ||
|
|
||
|
|
||
| public static void main(String[] args) { | ||
| launch(args); | ||
| } | ||
|
|
||
| @Override | ||
| public void start(Stage primaryStage) throws Exception { | ||
| stage.getIcons().add( new Image( Main.class.getResourceAsStream("file:icon.png"); | ||
| //.class.getResourceAsStream( "icon.png" ))); | ||
| stage = primaryStage; | ||
|
|
||
| pane = FXMLLoader.load(getClass().getResource("Login.fxml")); | ||
| Scene scene = new Scene(pane, 350, 500); | ||
|
|
||
| primaryStage.setResizable(false); | ||
| primaryStage.setScene(scene); | ||
| LoginController.setStage(stage); | ||
| primaryStage.setTitle("Gym Bro"); | ||
| primaryStage.show(); | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,35 @@ | ||
| package TGEU; | ||
|
|
||
| import javafx.application.Application; | ||
| import javafx.fxml.FXMLLoader; | ||
| import javafx.scene.Scene; | ||
| import javafx.scene.image.Image; | ||
| import javafx.scene.layout.Pane; | ||
| import javafx.stage.Stage; | ||
|
|
||
| public class Main extends Application { | ||
| Stage stage; | ||
| Pane pane; | ||
|
|
||
|
|
||
| public static void main(String[] args) { | ||
| launch(args); | ||
| } | ||
|
|
||
| @Override | ||
| public void start(Stage primaryStage) throws Exception { | ||
| primaryStage.getIcons().add(new Image("file:icon2.png")); | ||
| stage = primaryStage; | ||
|
|
||
| pane = FXMLLoader.load(getClass().getResource("Login.fxml")); | ||
| Scene scene = new Scene(pane, 350, 500); | ||
|
|
||
| primaryStage.setResizable(false); | ||
| primaryStage.setScene(scene); | ||
| LoginController.setStage(stage); | ||
| primaryStage.setTitle("Gym Bro"); | ||
| primaryStage.show(); | ||
|
|
||
| } | ||
|
|
||
| } |
| @@ -0,0 +1,35 @@ | ||
| package TGEU; | ||
|
|
||
| import javafx.application.Application; | ||
| import javafx.fxml.FXMLLoader; | ||
| import javafx.scene.Scene; | ||
| import javafx.scene.image.Image; | ||
| import javafx.scene.layout.Pane; | ||
| import javafx.stage.Stage; | ||
|
|
||
| public class Main extends Application { | ||
| Stage stage; | ||
| Pane pane; | ||
|
|
||
|
|
||
| public static void main(String[] args) { | ||
| launch(args); | ||
| } | ||
|
|
||
| @Override | ||
| public void start(Stage primaryStage) throws Exception { | ||
| primaryStage.getIcons().add(new Image("icon.png")); | ||
| stage = primaryStage; | ||
|
|
||
| pane = FXMLLoader.load(getClass().getResource("Login.fxml")); | ||
| Scene scene = new Scene(pane, 350, 500); | ||
|
|
||
| primaryStage.setResizable(false); | ||
| primaryStage.setScene(scene); | ||
| LoginController.setStage(stage); | ||
| primaryStage.setTitle("Gym Bro"); | ||
| primaryStage.show(); | ||
|
|
||
| } | ||
|
|
||
| } |