Browse Source

player fixes & lib updates

* openjfx 11 -> 11.0.1
* sqlite-jdbc 3.23.1 -> 3.25.2
* fixed build in player not  working
pull/12/head
Jannik 4 years ago
parent
commit
079f15cd59
  1. 10
      pom.xml
  2. 3
      src/main/java/kellerkinder/HomeFlix/application/MainWindowController.java
  3. 3
      src/main/java/kellerkinder/HomeFlix/player/Player.java

10
pom.xml

@ -27,19 +27,19 @@
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11</version>
<version>11.0.1</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11</version>
<version>11.0.1</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>11</version>
<version>11.0.1</version>
</dependency>
<dependency>
@ -63,7 +63,7 @@
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.23.1</version>
<version>3.25.2</version>
</dependency>
<dependency>
@ -114,7 +114,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
<configuration>
<finalName>Project-HomeFlix</finalName>
<shadedArtifactAttached>true</shadedArtifactAttached>

3
src/main/java/kellerkinder/HomeFlix/application/MainWindowController.java

@ -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;

3
src/main/java/kellerkinder/HomeFlix/player/Player.java

@ -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);

Loading…
Cancel
Save

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close