A házi feladatban még nem változtattam semmit (nem akarta megtalálni a javafx-et, de azt megoldottam) és amikor próbálom elindítani a következő hibaüzenetet kapom:
Apr 03, 2015 5:41:53 PM hu.bme.mit.inf.symod.homework.generic.app.ChessClock start
SEVERE: null
java.lang.IllegalArgumentException: Must specify a font
at com.sun.javafx.scene.control.skin.Utils.computeClippedText(Utils.java:75)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.updateDisplayedText(LabeledSkinBase.java:542)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.layoutLabelInArea(LabeledSkinBase.java:949)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.layoutLabelInArea(LabeledSkinBase.java:874)
at com.sun.javafx.scene.control.skin.LabeledSkinBase.layoutChildren(LabeledSkinBase.java:858)
at javafx.scene.Parent.layout(Parent.java:1018)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Parent.layout(Parent.java:1028)
at javafx.scene.Scene.layoutDirtyRoots(Scene.java:524)
at javafx.scene.Scene.doLayoutPass(Scene.java:495)
at javafx.scene.Scene.preferredSize(Scene.java:1508)
at javafx.scene.Scene.implpreferredSize(Scene.java:1535)
at javafx.stage.Window$9.invalidated(Window.java:717)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:127)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:161)
at javafx.stage.Window.setShowing(Window.java:781)
at javafx.stage.Window.show(Window.java:796)
at javafx.stage.Stage.show(Stage.java:233)
at hu.bme.mit.inf.symod.homework.generic.app.ChessClock.start(ChessClock.java:23)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319)
at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:219)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182)
at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
at com.sun.glass.ui.win.WinApplication.runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:17)
at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:67)
at java.lang.Thread.run(Thread.java:745)