A simple repetition machine made with JavaFX ~ for the Dear wife ~

Source: Internet
Author: User
Tags repetition

There is a period of time did not write a blog, the reason one is the recent work is very busy, all kinds of business, one is last year promised her wife to do a simple repetition machine, used to learn English, the requirements are local, with the most basic ab repetition and the last few seconds of repetition. In fact, in the last year quietly studied for a period of time, has tried JMF and Java sound, helpless is not good use ... If not, Java sound feels like these features ... As a result of the recent inadvertent JDK1.8 integration of JavaFX, it should be Oracle's attempt to improve swing's bad image ... No other research, at least in the audio play this piece, has been very powerful. So just continued to do 2 weeks, completed the first edition.

It is convenient for JavaFX to provide MediaPlayer, there are various methods, including the total time to obtain the current time, seek location method, Setstarttime and Setendtime of the time playing function, With these combinations, you can do some basic things like this. The last interface is like this.


Oh, humble point, no art, I also bother to look for the map, fortunately, the function is all the ~ ~ ~ a friend in need to leave the mailbox, I see you send the past AH ~ ~ ~ Next version According to the wife said is to be able to play video, but also to join a variety of shortcut keys F1.f2 God horse, if you can have a playlist is better ... Feel just started, refueling refueling ~ ~

A simple repetition machine made with JavaFX ~ for the Dear wife ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.