Yet another blog about WPF, Surface, SL, MVVM, NUI.... - JavaFX - CommentsIn 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 !2024-02-26T15:40:43+01:00Jonathan ANTOINEurn:md5:627146f22bec1346990949372a159bfaDotclearCreate your VideoPlayer with JavaFX, part three(Add a control bar). - Jonathan ANTOINEurn:md5:13b7f98eed13232a3afe5071b719dac92009-04-01T19:22:37+02:002009-04-01T19:23:44+02:00Jonathan 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... </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_surferurn:md5:d9e1b9bf7ac1ee4bb2d1cfc8e7bdf9bb2009-03-19T15:35:14+01:002009-03-25T16:44:38+01:00silver_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) - ddaurn:md5:bc17957967d761091687b9b9694b21802009-02-21T10:21:46+01:002009-03-25T16:43:54+01:00dda<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 ANTOINEurn:md5:bd09899b1272774f684c7c71550bc3252009-02-06T15:56:31+01:002009-02-06T16:56:59+01:00Jonathan 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). - Abhiurn:md5:69657747ffdff791f74f6e9d149aa55e2009-02-03T20:29:54+01:002009-02-03T21:29:54+01:00Abhi<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 ANTOINEurn:md5:56df2ec1ae5fb0fefa940d3d282ff7662009-01-21T14:37:32+01:002009-01-21T15:37:59+01:00Jonathan 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) - pgurn:md5:1813871b1ab6d37b27fb1c000f6969c22009-01-21T14:16:18+01:002009-01-21T15:16:18+01:00pg<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 ANTOINEurn:md5:d54dd8e7f1b3510c9ad9dffeb06462b32008-12-22T21:46:56+01:002008-12-22T22:46:56+01:00Jonathan 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). - Andreiurn:md5:63dab5dc40047aff1698fbf58532beff2008-12-22T19:18:39+01:002008-12-22T20:18:39+01:00Andrei<p>Why you sign the applet ? It is necessary ?</p>how do I detect double clic in JavaFX ? - Jonathan ANTOINEurn:md5:7ca0d164624324cf0f0cd586d9cd00a82008-12-15T21:25:51+01:002008-12-15T22:25:51+01:00Jonathan 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 Karrurn:md5:4bb9a70cce949cd330b75047bcc048de2008-12-15T19:04:05+01:002008-12-15T20:04:05+01:00David 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 Padillaurn:md5:54e4b626dec5df6a2839587e2b91fb172008-12-14T19:11:50+01:002008-12-14T20:11:50+01:00Roger 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 ANTOINEurn:md5:a83b4d6478f70742047ca152604980472008-12-14T19:00:03+01:002008-12-14T20:00:03+01:00Jonathan 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 Padillaurn:md5:afdde959e083bd19d42281fdac6ad4952008-12-14T18:58:59+01:002008-12-14T19:58:59+01:00Roger 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 ANTOINEurn:md5:b446c496e0dd523ad84a7b245abd25672008-12-14T18:34:55+01:002008-12-14T19:59:04+01:00Jonathan 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&f=2&t=014225" hreflang="en" rel="nofollow">Here too</a></li>
</ol>
<br />how do I detect double clic in JavaFX ? - Jonathan ANTOINEurn:md5:97d0e05b32b4066bb1ef800ca15c955d2008-12-14T18:31:39+01:002008-12-14T19:31:39+01:00Jonathan 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 ? - Maurourn:md5:a689f6ec18d427fb6266a0d010ef33602008-12-14T18:29:02+01:002008-12-14T19:29:02+01:00Mauro<p>You don't need to do that in Java/Swing neither in JavaFX.</p>how do I detect double clic in JavaFX ? - Roger Padillaurn:md5:51e4b1b6e5f5a077bcfb5250a6fc567c2008-12-14T18:24:34+01:002008-12-14T19:24:34+01:00Roger 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 Padillaurn:md5:cdebd39454eb47d491b60aa9a06e39332008-12-14T18:22:48+01:002008-12-14T19:22:48+01:00Roger 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 >= 2){<br />
doubleClick();<br />
} else {<br />
simpleClick();<br />
}<br />
}</p>how do I detect double clic in JavaFX ? - Jonathan ANTOINEurn:md5:587ebd079d8e14ec85a72cbd4d95db582008-12-14T18:22:00+01:002008-12-14T19:22:55+01:00Jonathan 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>