Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKyle Lockwood
8,491 PointsJavaFX Event Handler Quiz stumped.
I've rewatched the recommended videos several times, done extensive research outside of the course and still am unable to answer any of the questions. The most likely candidates I thought were OnAction and OnFinished, but these and many others result in a "Bummer" message.
I was doing great on the course up until this point, now I feel discouraged. Any help would be greatly appreciated; I've been spending hours on this.
Thanks
2 Answers
Dimang Chou
4,697 PointsThe answer should be mediaPlayer.setOnPlaying(event -> {});
Kyle Lockwood
8,491 PointsFound this answer and it helped me:
https://teamtreehouse.com/community/media-player-challenge-code-to-playstop
I couldn't find the link to which Seth is referring on the quiz, but the link he provided was very helpful.
Problem solved. Sometimes, I guess it just helps to talk it out, even with yourself :)