player fixes & lib updates

* openjfx 11 -> 11.0.1
* sqlite-jdbc 3.23.1 -> 3.25.2
* fixed build in player not  working
This commit is contained in:
2018-11-17 13:02:41 +01:00
parent 0d9ffb36e5
commit 079f15cd59
3 changed files with 9 additions and 7 deletions

View File

@ -19,6 +19,7 @@
* MA 02110-1301, USA.
*
*/
package kellerkinder.HomeFlix.application;
import java.awt.Desktop;
@ -165,7 +166,7 @@ public class MainWindowController {
private boolean autoplay = false;
private final String version = "0.7.0";
private final String buildNumber = "161";
private final String buildNumber = "163";
private final String versionName = "toothless dragon";
private String btnStyle;
private String color;

View File

@ -45,7 +45,8 @@ public class Player {
*/
public Player(MainWindowController mainWindowController) {
try {
FXMLLoader fxmlLoader = new FXMLLoader(ClassLoader.getSystemResource("fxml/PlayerWindow.fxml"));
FXMLLoader fxmlLoader = new FXMLLoader();
fxmlLoader.setLocation(getClass().getResource("/fxml/PlayerWindow.fxml"));
pane = (AnchorPane) fxmlLoader.load();
stage = new Stage();
scene = new Scene(pane);