Fixed resources issue
This commit is contained in:
Generated
+7
@@ -18,6 +18,13 @@
|
||||
<option name="OPEN_IN_BROWSER" value="true" />
|
||||
<option name="OPTION_INCLUDE_LIBS" value="false" />
|
||||
</component>
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
|
||||
@@ -66,7 +66,7 @@ public class App extends Application
|
||||
//load the first container
|
||||
try {
|
||||
FXMLLoader loader = new FXMLLoader();
|
||||
InputStream in = getClass().getClassLoader().getResourceAsStream("scenes/mainpane.fxml");
|
||||
InputStream in = getClass().getClassLoader().getResourceAsStream("scenes//mainpane.fxml");
|
||||
mainContainer = (BorderPane) loader.load(in);
|
||||
mainScene = new Scene(mainContainer, 800, 600);
|
||||
primaryStage.setScene(mainScene);
|
||||
|
||||
Reference in New Issue
Block a user