Rename project and add logo
This commit is contained in:
@@ -5,6 +5,7 @@ import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.image.Image;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
public class Main extends Application {
|
||||
@@ -22,7 +23,9 @@ public class Main extends Application {
|
||||
*/
|
||||
@Override
|
||||
public void start(Stage window) throws IOException {
|
||||
window.setTitle("Hello world");
|
||||
window.setTitle("Banana Editor");
|
||||
|
||||
window.getIcons().add(new Image(getClass().getResourceAsStream("/graphics/logo.png")));
|
||||
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/fxml/Main.fxml"));
|
||||
Parent document;
|
||||
|
||||
Reference in New Issue
Block a user