Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - JavaFX http://blog.lexique-du-net.com/index.php? In this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things ! en Mon, 26 Feb 2024 15:40:43 +0100 Jonathan ANTOINE, All rights reserved http://blogs.law.harvard.edu/tech/rss Dotclear Create your VideoPlayer with JavaFX, part three(Add a control bar). http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three urn:md5:587ebd079d8e14ec85a72cbd4d95db58 Mon, 22 Dec 2008 16:35:00 +0100 JonathanANTOINE@falsemail.com JavaFX formatJavaFXJavaFX scriptlayermedia.durationnodeProgressvideovideo control bar <p>Let's continue pur story about creating our own media player. You can find a demo of the resulting videoPlayer on this page: demo of the videoPlayer - part 3. What will we do in our third part ? : Add a control bar to the videoPlayer Display the progess of the video in this bar Add a play/pause button in this bar Enjoy ourselves! Add a... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three"><em>Read</em> Create your VideoPlayer with JavaFX, part three(Add a control bar).</a></p> http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#comment-form http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/11 how do I detect double clic in JavaFX ? http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX urn:md5:15a411397b3aa66c7e8ca44f3306656c Sun, 14 Dec 2008 15:49:00 +0100 JonathanANTOINE@falsemail.com JavaFX demodouble clicJavaFXJavaFX scriptswingTimeLine <p>I am currently confronted to this problem: detect double clic in JavaFX. What I want to do : When you make a double click, you click twice, so this is what will occurs: The first click will be catch and the simpleClickAction will be done (because clickCount != 2) ---> I don't want it : this is a double click and I want the simpleClick action... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX"><em>Read</em> how do I detect double clic in JavaFX ?</a></p> http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#comment-form http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/10 Create your VideoPlayer with JavaFX, part two. http://blog.lexique-du-net.com/index.php?post/2008/12/14/Create-your-VideoPlayer-with-JavaFX-part-two urn:md5:02c8323ec5508474f880af58ddec889a Sun, 14 Dec 2008 13:13:00 +0100 JonathanANTOINE@falsemail.com JavaFX apiJavaFXJavaFX scriptmediaPlayermediaViewMouseButton.PRIMARYMouseEventonMouseEnteredonMouseExitedsuntweenvideo <p>Let's continue pur story about creating our own media player What will we do in our second part ? : Display the meta-information of our video. Create animation and triggers to show it in a non-disturbing way. Add some triggers to our video : play/pause on click. Double-clic to resume the video Enjoy ourselves! Display the meta-informations... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/Create-your-VideoPlayer-with-JavaFX-part-two"><em>Read</em> Create your VideoPlayer with JavaFX, part two.</a></p> http://blog.lexique-du-net.com/index.php?post/2008/12/14/Create-your-VideoPlayer-with-JavaFX-part-two#comment-form http://blog.lexique-du-net.com/index.php?post/2008/12/14/Create-your-VideoPlayer-with-JavaFX-part-two#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/7 How I resolve my "MediaUnavailableException"'s problem in JavaFX... http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX urn:md5:7fbecf4794b9614dcdf1033349105555 Wed, 10 Dec 2008 19:23:00 +0100 JonathanANTOINE@falsemail.com JavaFX exceptionjavaJavaFXjmcmediaMediaUnavailableExceptionvideo <p>hey, In my first try to create a videoPlayer I always get an exception trying to play a media which are on my local hard disk. The problem I was trying to execute this media : var mediaURL : String = "file://C:/tchou.flv"; But it generates me logs like this one : FX Media Object caught Exception com.sun.media.jmc.MediaUnavailableException:... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX"><em>Read</em> How I resolve my &quot;MediaUnavailableException&quot;'s problem in JavaFX...</a></p> http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX#comment-form http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/6 Create your VideoPlayer with JavaFX, part one. http://blog.lexique-du-net.com/index.php?post/2008/12/09/Create-your-VideoPlayer-with-JavaFX-part-one urn:md5:80c4c1e8b3230a095826f6324353e5c2 Tue, 09 Dec 2008 19:18:00 +0100 JonathanANTOINE@falsemail.com JavaFX customcustomNodeJavaFXmediaMediaComponentmediaPlayermediaViewvideo <p>I noticed in this post that the mediaComponent pointed out in the JavaFX demos was not still available and that we will so make our own... Lets start ! What will we do in our first part ? : Create our custom node MyMediaComponent Add the video in our component Enjoy ourselfs! Create our custom node: MyMediaComponent The first thing... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/09/Create-your-VideoPlayer-with-JavaFX-part-one"><em>Read</em> Create your VideoPlayer with JavaFX, part one.</a></p> http://blog.lexique-du-net.com/index.php?post/2008/12/09/Create-your-VideoPlayer-with-JavaFX-part-one#comment-form http://blog.lexique-du-net.com/index.php?post/2008/12/09/Create-your-VideoPlayer-with-JavaFX-part-one#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/5 You could use the JavaFX Media Component.... Yes but where is it ? http://blog.lexique-du-net.com/index.php?post/2008/12/08/You-could-use-the-JavaFX-Media-Component-Yes-but-where-is-it urn:md5:8a1bbe1035dffc3433b3301579cb6f30 Mon, 08 Dec 2008 09:03:00 +0100 JonathanANTOINE@falsemail.com JavaFX com.sun.fxmediacomponentfxmediacomponentJavaFXJavaFX scriptNetbeansplayersampleSunvideo <p>Have you been trying all the wonderful demo on on the JavaFX web site ? Yes ? Me too ! You can try the "Simple Video Player" for example : It's great but when I tried to reproduce the video player i meet a little problem. It tells "You could use the JavaFX Media Component, a prefabricated video player in the com.sun.fxmediacomponent... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/08/You-could-use-the-JavaFX-Media-Component-Yes-but-where-is-it"><em>Read</em> You could use the JavaFX Media Component.... Yes but where is it ?</a></p> http://blog.lexique-du-net.com/index.php?post/2008/12/08/You-could-use-the-JavaFX-Media-Component-Yes-but-where-is-it#comment-form http://blog.lexique-du-net.com/index.php?post/2008/12/08/You-could-use-the-JavaFX-Media-Component-Yes-but-where-is-it#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/4 Deploy a JavaFX app as an applet with the Java Deployement Toolkit... (Updated twice) http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit urn:md5:bd919a892ba549376b2cc777d43de94b Mon, 08 Dec 2008 01:04:00 +0100 JonathanANTOINE@falsemail.com JavaFX appjarJavaFXJavaFX scriptjnlpMainJavaFXScriptNetbeansScriptwebStart <p>Yesterday I tried to write my first JavaFX... I Found it quite easy.... It's name was "VideoPlayer". But when I tried to put it on a web page and deploy it as an java Applet it became a Nightmare ! First I tried to use the code Netbeans give me in my 'dist' folder... It worked well on my computer but not when I putted it on my web site... I... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit"><em>Read</em> Deploy a JavaFX app as an applet with the Java Deployement Toolkit... (Updated twice)</a></p> http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit#comment-form http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit#comment-form http://feeds.feedburner.com/JonathanAntoine/comments/3