<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4177606878401511826</id><updated>2011-04-21T13:43:07.611-07:00</updated><category term='javafx'/><title type='text'>Valentin Jacquemin</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vjacquemin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://vjacquemin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Pollux</name><uri>http://www.blogger.com/profile/02316841739529631247</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_kGsXtKJg168/SKlOKkRGRDI/AAAAAAAAAM4/VL-BUiUDHMI/S220/profile.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4177606878401511826.post-7042374178723834310</id><published>2008-08-26T23:34:00.000-07:00</published><updated>2008-08-26T23:35:54.682-07:00</updated><title type='text'>Thermo</title><content type='html'>A video has been post about Thermo, a great product!&lt;br /&gt;&lt;embed src="http://services.brightcove.com/services/viewer/federated_f8/1596744118" bgcolor="#FFFFFF" flashVars="videoId=1741161343&amp;playerId=1596744118&amp;viewerSecureGatewayURL=https://console.brightcove.com/services/amfgateway&amp;servicesURL=http://services.brightcove.com/services&amp;cdnURL=http://admin.brightcove.com&amp;domain=embed&amp;autoStart=false&amp;" base="http://admin.brightcove.com" name="flashObj" width="486" height="412" seamlesstabbing="false" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177606878401511826-7042374178723834310?l=vjacquemin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vjacquemin.blogspot.com/feeds/7042374178723834310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177606878401511826&amp;postID=7042374178723834310' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/7042374178723834310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/7042374178723834310'/><link rel='alternate' type='text/html' href='http://vjacquemin.blogspot.com/2008/08/thermo.html' title='Thermo'/><author><name>Pollux</name><uri>http://www.blogger.com/profile/02316841739529631247</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_kGsXtKJg168/SKlOKkRGRDI/AAAAAAAAAM4/VL-BUiUDHMI/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177606878401511826.post-4701021585382230532</id><published>2008-08-25T23:29:00.000-07:00</published><updated>2008-08-25T23:32:46.023-07:00</updated><title type='text'>Asking Experts Transcript</title><content type='html'>The transcript of the interview of &lt;strong style="font-weight: normal;"&gt;Joshua Marinacci, Martin Brehovsky, and Lawrence McDonough (JavaFX SDK dev) by the developer community&lt;/strong&gt; is now available.&lt;br /&gt;If you are interested by the Java's RIA part check out this link: &lt;a href="http://java.sun.com/developer/community/askxprt/sessions/2008/jl0818.jsp"&gt;http://java.sun.com/developer/community/askxprt/sessions/2008/jl0818.jsp&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177606878401511826-4701021585382230532?l=vjacquemin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vjacquemin.blogspot.com/feeds/4701021585382230532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177606878401511826&amp;postID=4701021585382230532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/4701021585382230532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/4701021585382230532'/><link rel='alternate' type='text/html' href='http://vjacquemin.blogspot.com/2008/08/asking-experts-transcript.html' title='Asking Experts Transcript'/><author><name>Pollux</name><uri>http://www.blogger.com/profile/02316841739529631247</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_kGsXtKJg168/SKlOKkRGRDI/AAAAAAAAAM4/VL-BUiUDHMI/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177606878401511826.post-2452117261745040239</id><published>2008-08-19T13:21:00.000-07:00</published><updated>2008-08-24T11:30:59.189-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javafx'/><title type='text'>Deezer clone - 1st step</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Goal&lt;/span&gt;: Show a rectangle with a label in it and animate the tint of this rectangle when the cursor enter or exit of it.&lt;br /&gt;&lt;br /&gt;Well, I think that to have a well defined goal is always a nice start. I can stay focus on it and my reflections keep together in the good direction.&lt;br /&gt;&lt;br /&gt;If as me you prefer sometimes to have a preview of the result before read the next, just click on the launch button!&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.poxd.org/ext/javafx/deezer/01/launch.jnlp"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_kGsXtKJg168/SKwLxzfmfvI/AAAAAAAAANU/mSbUUMUXq7c/s200/jws-launch-button.jpg" alt="" id="BLOGGER_PHOTO_ID_5236573416989294322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;h1&gt;Draw the rectangle&lt;/h1&gt;So to start I had to draw a simple rectangle; quite easy with JavaFx:&lt;br /&gt;&lt;p style="border: 1px solid black; padding: 2px; font-family: courier new; font-size: 0.9em; background-color: rgb(225, 225, 225);"&gt;Rectangle{&lt;br /&gt;width: 120&lt;br /&gt;height: 100&lt;br /&gt;fill: Color.BLACK;&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;When I said easy, I wasn't lying! But for now, I have only a black rectangle when the deezer items are filled by a nice white to gray gradient. Once again very simple:&lt;br /&gt;&lt;p style="border: 1px solid black; padding: 2px; font-family: courier new; font-size: 0.9em; background-color: rgb(225, 225, 225);"&gt;LinearGradient{&lt;br /&gt;startX: 0.0&lt;br /&gt;startY: 0.0&lt;br /&gt;endX: 0.0&lt;br /&gt;endY: 1.0&lt;br /&gt;stops : [&lt;br /&gt;Stop{offset: 0.0 color: Color.rgb(163,163,163)},&lt;br /&gt;Stop{offset: 0.5 color: Color.rgb(106,106,106)},&lt;br /&gt;Stop{offset: 0.51 color: Color.rgb(43,43,43)},&lt;br /&gt;Stop{offset: 1.0 color: Color.rgb(57,57,57)}&lt;br /&gt;]&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;Besides the majority of these attributes that are self explanatory I'd like to talk about the &lt;span style="font-style: italic;"&gt;stops&lt;/span&gt; attribute. To be clear and concise a Stop defines in a scalable (0.0 = start, 1.0 = end) manner which color is at a certain point.&lt;br /&gt;This code can now replace the &lt;span style="font-style: italic;"&gt;Color.BLACK &lt;/span&gt;in our previous rectangle's code. Actually we have the rectangle with the right color. After having done the same thing to have the rectangle with blue tints, we just have to start the animating stuff. Before going on I'd like to precise that the 2nd rectangle is located at the same location than the 1st rectangle but with an opacitiy value of 0. We will only change the opacity to create the fading animation.&lt;br /&gt;&lt;h1&gt;Fade animation&lt;/h1&gt;Have you already developed a Swing application? If so, did you ever try to add animation stuff to it? I don't know about you, but to me it has always been a nightmare. The good news are that with JavaFX, a new era is here!&lt;br /&gt;For my demo, I have been really keen about the JavaFX abilities, here is the code to get a fade animation on our rectangle:&lt;br /&gt;&lt;p style="border: 1px solid black; padding: 2px; font-family: courier new; font-size: 0.9em; background-color: rgb(225, 225, 225);"&gt;Timeline{&lt;br /&gt;keyframes:[time: 0.6s values: op =&gt; 1.0 tween Interpolator.LINEAR]&lt;br /&gt;}&lt;br /&gt;&lt;/p&gt;With a simple binding between th &lt;span style="font-style: italic;"&gt;op&lt;/span&gt; value and the &lt;span style="font-style: italic;"&gt;opacity&lt;/span&gt; attribute of the blue tint rectangle we have all materials to make a fade animation.&lt;br /&gt;&lt;h1&gt;JavaFX Custom node&lt;br /&gt;&lt;/h1&gt;The last thing to do is drawing the text of the menu item. Once again, quite easy:&lt;br /&gt;&lt;p style="border: 1px solid black; padding: 2px; font-family: courier new; font-size: 0.9em; background-color: rgb(225, 225, 225);"&gt;Text{&lt;br /&gt;label: "HOME"&lt;br /&gt;x: 0&lt;br /&gt;y: 0&lt;br /&gt;fill: Color.ORANGE&lt;br /&gt;}&lt;/p&gt;The very last thing is gathering all these pieces of code. To do that, I put together all in a new custom node. In Swing development we had the habit to extend a specific component when we wanted to customize a bit. In JavaFX, this is no more the case, CustomNode takes place. I let you see the code source for the final result.&lt;br /&gt;&lt;br /&gt;That's it for the 1st step. We have seen how to create a JavaFX custom node that is reusable. But there are still serveral steps from the final deezer's clone... Watch out!&lt;br /&gt;&lt;br /&gt;[The &lt;a href="http://www.poxd.org/ext/javafx/deezer/01/src/deezer/Main.fx"&gt;code source is avaible&lt;/a&gt; under BSD license.]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177606878401511826-2452117261745040239?l=vjacquemin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vjacquemin.blogspot.com/feeds/2452117261745040239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177606878401511826&amp;postID=2452117261745040239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/2452117261745040239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/2452117261745040239'/><link rel='alternate' type='text/html' href='http://vjacquemin.blogspot.com/2008/08/deezer-clone-1st-step.html' title='Deezer clone - 1st step'/><author><name>Pollux</name><uri>http://www.blogger.com/profile/02316841739529631247</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_kGsXtKJg168/SKlOKkRGRDI/AAAAAAAAAM4/VL-BUiUDHMI/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kGsXtKJg168/SKwLxzfmfvI/AAAAAAAAANU/mSbUUMUXq7c/s72-c/jws-launch-button.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177606878401511826.post-3498738990993805243</id><published>2008-08-17T21:00:00.000-07:00</published><updated>2008-08-18T07:10:31.529-07:00</updated><title type='text'>What are the plans</title><content type='html'>&lt;p&gt;I like beautiful apps and I admire guys who are able to build ones. I follow developers like &lt;a href="http://www.curious-creature.org/"&gt;Romain Guy&lt;/a&gt; and &lt;a href="http://graphics-geek.blogspot.com/"&gt;Chet Haase&lt;/a&gt; who are often associated as speakers of the well known (at least in the Java world) &lt;em&gt;&lt;a href="http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-6611&amp;amp;yr=2008&amp;amp;track=desktop"&gt;Filthy Rich Clients&lt;/a&gt;&lt;/em&gt; conference and authors of the same titled &lt;a href="http://filthyrichclients.org/"&gt;book&lt;/a&gt;. If you haven't taken a look at their work don't hesitate, it's really worth looking!&lt;/p&gt;  &lt;p&gt;One day, I'd like to build beautiful application as theirs. I'm really not as talented as them, so it will be hard. However, I hope that with commitment and work I will tend to good results. I read a lot about all technologies available to build so called rich applications and we have some contenders in the landscape: &lt;a href="http://www.google.com/search?q=silverlight"&gt;Silverlight&lt;/a&gt;, &lt;a href="http://www.adobe.com/products/flex/"&gt;Flex&lt;/a&gt;/&lt;a href="http://www.adobe.com/products/air/"&gt;Air&lt;/a&gt; and &lt;a href="http://javafx.com/"&gt;JavaFX&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;As you may know, I come from Java world. So, to start I will try to improve my skills with JavaFX that has been recently released as a Preview SDK. I'll begin with an easy demo: &lt;a href="http://www.deezer.com/"&gt;deezer&lt;/a&gt;'s menu clone.&lt;/p&gt;  &lt;p&gt;&lt;img style="border: 0px none ;" alt="784@783_53d7edcfcbb32d7787582013bb353e79" src="http://lh3.ggpht.com/jacqueminv/SKlMq2m24DI/AAAAAAAAAMs/jpPtcWjyuLI/784%40783_53d7edcfcbb32d7787582013bb353e79_thumb%5B1%5D.png?imgmax=800" border="0" height="42" width="291" /&gt;&lt;/p&gt;  &lt;p&gt;With this job I should learn:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Layout management of JavaFX&lt;/li&gt;    &lt;li&gt;Paint system, for the different gradients&lt;/li&gt;    &lt;li&gt;A bit of animation stuff (see on the site: fade in/out)&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;All this stuff is done as part of my spare time so it may take some time to be done ;).&lt;/p&gt;  &lt;p&gt;P.S. : all corrections about my English grammar/vocabulary are welcome - drop me an email, or just write a comment, thanks a lot&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177606878401511826-3498738990993805243?l=vjacquemin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vjacquemin.blogspot.com/feeds/3498738990993805243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177606878401511826&amp;postID=3498738990993805243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/3498738990993805243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/3498738990993805243'/><link rel='alternate' type='text/html' href='http://vjacquemin.blogspot.com/2008/08/what-are-plans.html' title='What are the plans'/><author><name>Pollux</name><uri>http://www.blogger.com/profile/02316841739529631247</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_kGsXtKJg168/SKlOKkRGRDI/AAAAAAAAAM4/VL-BUiUDHMI/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/jacqueminv/SKlMq2m24DI/AAAAAAAAAMs/jpPtcWjyuLI/s72-c/784%40783_53d7edcfcbb32d7787582013bb353e79_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4177606878401511826.post-222013825308643124</id><published>2008-07-30T13:15:00.000-07:00</published><updated>2008-07-30T13:26:38.141-07:00</updated><title type='text'>I enter in the english blogosphere</title><content type='html'>I had to enter in the english blogosphere. I entered in the blogosphere in french until now for almost one year. It could interest you if you are &lt;span style="font-style: italic;"&gt;francophone&lt;/span&gt;. Here is the link: &lt;a href="http://www.poxd.org"&gt;Pollux World&lt;/a&gt;.&lt;br /&gt;You could wonder why I start a new blog... so why? This is just because I would like to have a little presence in English since it is the biggest public online and also to improve my english communication skills of course.&lt;br /&gt;The main goal of this blog is to write down my reflections and productions in development domain. Applications development, not environment or whatever else...&lt;br /&gt;So I wish I will be able to interest someone with my work and posts. I cross my fingers!&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4177606878401511826-222013825308643124?l=vjacquemin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://vjacquemin.blogspot.com/feeds/222013825308643124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4177606878401511826&amp;postID=222013825308643124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/222013825308643124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4177606878401511826/posts/default/222013825308643124'/><link rel='alternate' type='text/html' href='http://vjacquemin.blogspot.com/2008/07/i-enter-in-english-blogosphere.html' title='I enter in the english blogosphere'/><author><name>Pollux</name><uri>http://www.blogger.com/profile/02316841739529631247</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_kGsXtKJg168/SKlOKkRGRDI/AAAAAAAAAM4/VL-BUiUDHMI/S220/profile.jpg'/></author><thr:total>0</thr:total></entry></feed>
