Set Envoy logo as stage icon
This commit is contained in:
		| @@ -3,6 +3,7 @@ package envoy.client.ui; | ||||
| import javafx.application.Application; | ||||
| import javafx.fxml.FXMLLoader; | ||||
| import javafx.scene.Scene; | ||||
| import javafx.scene.image.Image; | ||||
| import javafx.scene.layout.GridPane; | ||||
| import javafx.stage.Stage; | ||||
|  | ||||
| @@ -26,6 +27,7 @@ public final class Startup extends Application { | ||||
| 		 | ||||
| 		var chatScene = new Scene(anchorPane); | ||||
| 		primaryStage.setTitle("Envoy"); | ||||
| 		primaryStage.getIcons().add(new Image(getClass().getResourceAsStream("/icons/envoy_logo.png"))); | ||||
| 		primaryStage.setScene(chatScene); | ||||
| 		primaryStage.show(); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user