Moved all FXML files to the resource folder
This commit is contained in:
		@@ -72,7 +72,7 @@ public final class LoginDialog extends Dialog<Void> {
 | 
			
		||||
		this.localDB				= localDB;
 | 
			
		||||
		this.receivedMessageCache	= receivedMessageCache;
 | 
			
		||||
 | 
			
		||||
		final var loader = new FXMLLoader(getClass().getResource("LoginDialog.fxml"));
 | 
			
		||||
		final var loader = new FXMLLoader(getClass().getResource("/fxml/LoginDialog.fxml"));
 | 
			
		||||
		loader.setController(this);
 | 
			
		||||
		final var dialogPane = loader.<DialogPane>load();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -124,7 +124,7 @@ public final class Startup extends Application {
 | 
			
		||||
				.forEach(u -> u.setStatus(UserStatus.OFFLINE));
 | 
			
		||||
 | 
			
		||||
		// Prepare stage and load ChatScene
 | 
			
		||||
		var	loader		= new FXMLLoader(getClass().getResource("ChatScene.fxml"));
 | 
			
		||||
		var	loader		= new FXMLLoader(getClass().getResource("/fxml/ChatScene.fxml"));
 | 
			
		||||
		var	anchorPane	= loader.<GridPane>load();
 | 
			
		||||
		var	chatScene	= new Scene(anchorPane);
 | 
			
		||||
		stage.setTitle("Envoy");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user