Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - JavaFX script - Comments 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). - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c96 urn:md5:13b7f98eed13232a3afe5071b719dac9 Wed, 01 Apr 2009 19:22:37 +0200 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c95" rel="nofollow">silver_surfer</a> : Hey, yes i have used this methods...&nbsp;</p> <p>Sorry but I can't help you more: as you may have read on the blog, I am no more working with JavaFX...</p> Create your VideoPlayer with JavaFX, part three(Add a control bar). - silver_surfer http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c95 urn:md5:d9e1b9bf7ac1ee4bb2d1cfc8e7bdf9bb Thu, 19 Mar 2009 15:35:14 +0100 silver_surfer <p>congrats and thanks for the helpful posts on your blog</p> <p>can you please mail me the source code of all the three parts of the video player you built.</p> <p>Also i am looking for an external slider control which can choose the duration and values of video start and end time ... any suggestions ?</p> <p>Have you used the javafx scene media MediaPlayer's<br /> startTime,endTime,currentTime methods to enable video seek ?</p> <p>Can you help me with that ?</p> <p>thanks in advance,</p> Deploy a JavaFX app as an applet with the Java Deployement Toolkit... (Updated twice) - dda http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit#c53 urn:md5:bc17957967d761091687b9b9694b2180 Sat, 21 Feb 2009 10:21:46 +0100 dda <p>I had the same jnlp problem than you and solved it the same way but is there no way to have Netbeans generating the correct jnlp files from start ?<br /> DDA</p> Create your VideoPlayer with JavaFX, part three(Add a control bar). - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c28 urn:md5:bd09899b1272774f684c7c71550bc325 Fri, 06 Feb 2009 15:56:31 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c27" rel="nofollow">Abhi</a> :You are welcome ^^ !</p> Create your VideoPlayer with JavaFX, part three(Add a control bar). - Abhi http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c27 urn:md5:69657747ffdff791f74f6e9d149aa55e Tue, 03 Feb 2009 20:29:54 +0100 Abhi <p>Very well written article!. Easy to read and understand.</p> <p>I have to do a similar thing as to show progress bar for FTP uploading process.<br /> I was debating between JProgressBar or something like your approach.</p> <p>Your approach definitely gives me more freedom. I am going to start implementing it and let you know if I bump into any issues.</p> <p>Thanks for the article</p> Deploy a JavaFX app as an applet with the Java Deployement Toolkit... (Updated twice) - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit#c25 urn:md5:56df2ec1ae5fb0fefa940d3d282ff766 Wed, 21 Jan 2009 14:37:32 +0100 Jonathan ANTOINE <p>@<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#c24" rel="nofollow">pg</a> : Hey,</p> <p>In fact in JavaFX I use this snippets to get the parameters value: FX.getArgument("isApplet") as String);</p> Deploy a JavaFX app as an applet with the Java Deployement Toolkit... (Updated twice) - pg http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit#c24 urn:md5:1813871b1ab6d37b27fb1c000f6969c2 Wed, 21 Jan 2009 14:16:18 +0100 pg <p>I see you are passing in the isApplet parameter in the html. However, What does the java side look like to accept and load the parameter?</p> Create your VideoPlayer with JavaFX, part three(Add a control bar). - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c23 urn:md5:d54dd8e7f1b3510c9ad9dffeb06462b3 Mon, 22 Dec 2008 21:46:56 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c22" rel="nofollow">Andrei</a> : No, but why not ? <img src="themes/default/smilies/laugh.png" alt=":-D" class="smiley" /> !</p> Create your VideoPlayer with JavaFX, part three(Add a control bar). - Andrei http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#c22 urn:md5:63dab5dc40047aff1698fbf58532beff Mon, 22 Dec 2008 19:18:39 +0100 Andrei <p>Why you sign the applet ? It is necessary ?</p> how do I detect double clic in JavaFX ? - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c21 urn:md5:7ca0d164624324cf0f0cd586d9cd00a8 Mon, 15 Dec 2008 21:25:51 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c20" rel="nofollow">David Karr</a> : I fully agree with you ^^ !</p> how do I detect double clic in JavaFX ? - David Karr http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c20 urn:md5:4bb9a70cce949cd330b75047bcc048de Mon, 15 Dec 2008 19:04:05 +0100 David Karr <p>I would point out that double-click functionality should always be an extension of the single-click functionality. That is how user interfaces are designed, and you shouldn't try to avoid it. Users will expect a double-click to perform the single-click functionality, and then the double-click extension. If you violate that expectation, users will be surprised and confused. The principle of "least surprise" is very important in user interfaces.</p> how do I detect double clic in JavaFX ? - Roger Padilla http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c19 urn:md5:54e4b626dec5df6a2839587e2b91fb17 Sun, 14 Dec 2008 19:11:50 +0100 Roger Padilla <p>Absolutely Your are not, the mad was Me <img src="themes/default/smilies/wink.png" alt=";)" class="smiley" /></p> how do I detect double clic in JavaFX ? - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c18 urn:md5:a83b4d6478f70742047ca15260498047 Sun, 14 Dec 2008 19:00:03 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c17" rel="nofollow">Roger Padilla</a> : </p> Ouf, I was thinking I was mad ^^ how do I detect double clic in JavaFX ? - Roger Padilla http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c17 urn:md5:afdde959e083bd19d42281fdac6ad495 Sun, 14 Dec 2008 18:58:59 +0100 Roger Padilla <p>Ohh yes!, You are right and I'm wrong, my fail, sorry. That is a not implemented feature.<br /> You have the solution <img src="themes/default/smilies/smile.png" alt=":)" class="smiley" /></p> how do I detect double clic in JavaFX ? - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c16 urn:md5:b446c496e0dd523ad84a7b245abd2567 Sun, 14 Dec 2008 18:34:55 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c14" rel="nofollow">Mauro</a> : The proble seems to be the same with Swing :</p> <ol><li>First link :<a href="http://objectmix.com/java/72551-how-detect-double-click-mouse-events-swing.html" rel="nofollow">check this link.</a>  </li> <li>Second link : <a href="http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=014225" hreflang="en" rel="nofollow">Here too</a></li> </ol> <br /> how do I detect double clic in JavaFX ? - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c15 urn:md5:97d0e05b32b4066bb1ef800ca15c955d Sun, 14 Dec 2008 18:31:39 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c13" rel="nofollow">Roger Padilla</a> : You will sure perform the doubleclick action but also the firstClick action: I don't want this !</p> <p>I let you check this little app : <a href="http://www.lexique-du-net.com/javafx/ClickApp.zip" hreflang="en" rel="nofollow">http://www.lexique-du-net.com/javafx/ClickApp.zip</a></p> <p>This app just add "simple" or "double" to a text when click are done using your code...</p> how do I detect double clic in JavaFX ? - Mauro http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c14 urn:md5:a689f6ec18d427fb6266a0d010ef3360 Sun, 14 Dec 2008 18:29:02 +0100 Mauro <p>You don't need to do that in Java/Swing neither in JavaFX.</p> how do I detect double clic in JavaFX ? - Roger Padilla http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c13 urn:md5:51e4b1b6e5f5a077bcfb5250a6fc567c Sun, 14 Dec 2008 18:24:34 +0100 Roger Padilla <p>@"By doing this you will perform simpleClick each time you will make a double click: on the first click of your double..."</p> <p>Not because of "clickCount" is a sum value which is controlled in background.</p> how do I detect double clic in JavaFX ? - Roger Padilla http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c12 urn:md5:cdebd39454eb47d491b60aa9a06e3933 Sun, 14 Dec 2008 18:22:48 +0100 Roger Padilla <p>@"What I want is :</p> <p>* To perform a simpleClick action on single click only (and not those which are part of a double click),<br /> * To perform a double click action on doubleClick only."</p> <p>That is just what the "if-else" approach does <img src="themes/default/smilies/smile.png" alt=":)" class="smiley" /></p> <p>This will works for you:</p> <p>onMouseClicked: function(me:MouseEvent){<br /> if(me.clickCount &gt;= 2){<br /> doubleClick();<br /> } else {<br /> simpleClick();<br /> }<br /> }</p> how do I detect double clic in JavaFX ? - Jonathan ANTOINE http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c11 urn:md5:587ebd079d8e14ec85a72cbd4d95db58 Sun, 14 Dec 2008 18:22:00 +0100 Jonathan ANTOINE <p>@<a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#c10" rel="nofollow">Roger Padilla</a> : </p> By doing this you will perform simpleClick each time you will make a double click:<span class="Apple-style-span" style="font-style: italic;"> on the first click of your double click...</span>