JavaFX Layout Secrets

18 12 2009

I am very pleased to have Amy Fowler (Aim) presenting on JavaFX Layouts at our January Silicon Valley JavaFX Users Group (SvJugFx).  For those of you who don’t know Aim, she was a founding member of the Swing team, has done some Rock Star presentations at JavaOne, and is a core member of the JavaFX team focused on all things layout.

If you are doing any JavaFX development at all, this is an event you won’t want to miss.  The presentation is on January 13th and you can sign-up on the SvJugFx website here:

Click to Sign-Up

We will also be streaming the event live from Santa Clara, so if you don’t live nearby make sure to join us online for the event.  I actually think the folks watching it online are at an advantage, because they get all the inside information in the chat window from JavaFX luminaries like Jim Weaver, Dean Iverson, and Jonathan Giles.

For those of you who missed our December event, we just finished posting Richard Bair’s December talk on JavaFX entitled “Intro to JavaFX – A Rich Client Platform for All Screens.”  You can view it on Parleys.com complete with synchronized slides by clicking on the image or link below:

Richard Bair Presenting on JavaFX at the SvJugFx

Click to View Presentation

I hope to see you at our next event!





SvJugFx Streamed Live with Richard Bair

8 12 2009

For those of you who don’t know, SvJugFx stands for the Silicon Valley JavaFX Users Group.  We will be holding our very first meeting this coming Wednesday with a live, streamed presentation from the world renowned Richard Bair (who is now infamous for divulging JavaFX secrets at Devoxx).

Richard Bair Presenting at Devoxx 2009

Yes, I said streamed live…  for those of you who are not fortunate enough to live in Silicon Valley, you can still participate in realtime by doing the following:

  1. Sign-up for the SvJugFx meetup group.  This is the primary communication vehicle we will use to announce last-minute changes:
    http://www.svjugfx.org/
    (Note: Everyone can sign up for the group, but please only RSVP for the event if you are physically attending)
  2. For the video feed, please go to the following ustream channel:

    http://www.ustream.tv/channel/silicon-valley-javafx-user-group

  3. And to participate, please log on to Google Moderator at the following URL:

    http://moderator.appspot.com/#16/e=d528e

The in-person meeting will start on: Wednesday at 6PM PST
The online streaming will start at latest by: 7PM PST (possibly earlier)

Please leave enough time to login on both sites and test your internet and video playback capabilities.  You will be able to watch the live video stream on ustream and respond with your own questions (as well as vote other participant’s questions up and down) via Google Moderator, which we will be monitoring during the presentation.

This is the first time we are trying this format, so we apologize in advance for technical glitches or issues that we are sure will arise.

“Success is the ability to go from failure to failure without losing your enthusiasm.”

–Winston Churchill





JFXtras 0.6 Preview Available!

25 11 2009

Happy Thanksgiving from the JFXtras team!  While everyone else is celebrating the holiday with friends and family, we are going to be busy finishing up the 0.6 release.

Wild turkey in LaConner, WA taken by stevevoght

In case you have some spare time between meals and celebration, you can join in the fun too by trying out the JFXtras 0.6 preview release, which can be downloaded here:

http://code.google.com/p/jfxtras/downloads/list

There is a whole slew of new functionality including the following under Common:

  • Layouts – Changes to the Grid API in preparation for inclusion in the JavaFX Soma release, and also added animation support to all the layouts.
  • Sphere – Pseudo 3D sphere created for the Groovy showdown with Andrey Almiray.
  • Gear – New shape from Steve Bixby.
  • ManualResizableRectangle – Very useful shape from Yannick’s post.
  • JXScene – Pedro’s improved API for Swing integration.
  • PaintUtil, HSBColor, new gradients – Liu’s magic paint classes
  • Custom Paints – From Jeff Friesen’s excellent article on Custom Paints.
  • Custom Cursors – From Jeff Friesen’s excellent article on Custom Cursors.
  • Wipe Library – A transition library from Simon Morris’ JavaFX in Action book.
  • XMap – A bindable Map implementation for JavaFX.
  • XStore – David Armitage’s simple persistence for JavaFX variables using dependency injection.
  • ImageCache – Caching of JavaFX images for building high performance applications contributed by Joshua Marinacci.
  • XEDT – Simplified event thread mangement for JavaFX infrastructure classes (Warning: Use the JavaFX Task API instead unless you know exactly what you are doing)

And the rest under a new Controls jar:

  • XTableView – I am still working on this, but it is very useful already as demonstrated by Jim Weaver’s SpeedReaderFX application.
  • XTreeView – Jim Clarke’s Tree Control.
  • XCalendarPicker – Tom’s excellent calendar control.
  • XPane – A titled region with rounded corners developed by Dean Iverson.
  • XPicker – David Armitage did some great work on this…  Check out his demo on the JFXtras website.
  • XShelfView – A high performance Display Shelf control implementation with support for reflection, titles, and a scrollbar as showcased on JFXStudio.
  • XSpinnerWheel – A prize spinner wheel that makes use of pseudo 3D effects as showcased in the JUG Prize Spinner application.
  • XMenu – Pure JavaFX Menu developed by Jonathan Giles (this version will be replaced by the official Sun Menu control when it becomes available).
  • XPasswordBox – Control from Liu to create a password field.
  • XMultiLineTextBox – Till’s control for editing multiple lines of text.
  • XSwingTable – From John Freeman, this gives you all the power of a JTable directly from JavaFX code.

For this release we decided to go with a new naming convention to differentiate our classes from the built-in JavaFX layouts and controls.  Most of the classes are now prefixed with an “X” for jfXtras.  This will make migration slightly more painful now, but prevent future collisions and name changes down the road.

There is also a new version of JFXtras Test.  This is the final version that will be released under this name (it is being merged with FEST-JavaFX), but it required an update to work with the new naming convention and to add some much-needed JUnit Runner support (see my Devoxx Conference Presentation for more details).

I probably missed a few things along the way here.  You can find the definitive list in the online JavaFXDoc:

http://jfxtras.googlecode.com/svn/site/javadoc/release-0.6/index.html

Please feel free to download the jars and give the preview release a try.  We are putting the finishing touches on several of the layouts and controls, so expect a final release in a week or so.

Happy Thanksgiving!





Devoxx Conference Session Slides

24 11 2009

Overall I was very impressed with Devoxx.  Everything including the movie theater venue, quality of the speakers, and professionalism of the attendees was top-notch.  Stephan Janssen definitely puts on quite an amazing show!

As a follow-up to my second Devoxx session, here is the full slide deck I presented:

Both this and the university session will be available on the Parleys.com beta site shortly, so you will be able to watch both sessions from the comfort of your home.

Now back to coding on the JFXtras 0.6 release with an announcement to be posted here very shortly…





LearnFX and Win at Devoxx

13 11 2009

Next week I will be giving two talks on JavaFX at Devoxx in Belgium.  The first is a university session on Tuesday at 13:30 called The JavaFX Platform – A Java Developer’s Guide.  The second is a technical session on Thursday at 14:00 entitled Pro Javafx – Developing Enterprise Applications.

Leading up to both these sessions I will post a question via the LearnFX application.  To win a prize, all you have to do is:

  1. Answer the question correctly using the LearnFX client (see below)
  2. Come to the next Devoxx session I am speaking at
  3. Winners will be selected by a random drawing from all the correct responses

Here is the LearnFX client displaying the first question.  To run it, make sure that you have a recent version (update 14 or later) of Java SE 6, and simply click on the launch button:

LearnFX
webstartsmall2

Please don’t ruin this for others by mentioning the answer!

The prizes include several copies of Pro JavaFX Platform and a limited edition WidgetFX T-Shirt.  I don’t know about you, but I know which prize I would pick:

WidgetFXShirt

WidgetFX Limited run T-Shirt - original artwork by Keith Combs (WidgetFX Developer)

There will also be an opportunity for audience members to answer simply by using a laptop or mobile Twitter client (more details on this at the start of the session), so you don’t have to respond in advance to win.

Thanks to Jim Weaver for the excellent LearnFX application, and I look forward to seeing you at my Devoxx talks!





Announcing the JavaFX Twitter Group

7 11 2009

JavaFX has a very active Twitter community.  Some have even said that the best way to get help with your JavaFX app is to ask on Twitter first.  But how do you know who to follow?

To make it easy to hook in to the JavaFX Twitter community, I put together a JavaFX Twitter Group using the new group support.  To subscribe, simply follow @steveonjava/javafx:

javafxgroup

The JavaFX Twitter Group Stream

So who will you find on this list?  Some big names in the JavaFX Community, including:

  • Richard Bair, Joshua Marinacci, and Jonathan Giles from the JavaFX team
  • JavaFX book authors such as Jim Weaver, Weiqi Gao, Dean Iverson, and Simon Morris
  • JavaFX evangelists such as Maijaliisa Burkert, and Anatoli Fomenko
  • JavaFX early adopters such as Peter Pilgrim, Sten Karl, Steven Herod, Carl Dea, William Antonio, Pär Dahlberg, Mark Macumber, Tom, Enrique Garcia, Eric Wendelin, Hideki Kobayashi, and many, many others

I tried my best to dig in a few levels deep on the twitter lists of folks I know are active in the JavaFX community so I would get pretty good coverage.  The basic criteria I used for selecting folks was percentage of tweets dedicated to JavaFX discussion.  Most of the folks on the list talk about JavaFX in 50% or more of their tweets, although there are a few notable exceptions (ahem..  Steven Herod).

Please follow the new JavaFX Twitter Group, and if you would like to be followed by the list, tweet me a direct message @steveonjava.





Meet the New Java Store

4 11 2009

The Java Store team at Sun has been busy at work on a new release of the Java Store, which is finally available in Beta.  The easiest way to get it is to go through the Java Warehouse to the developer preview link here:

http://store.java.com/developerrelease

(If you are on Windows 7 or Vista-64, you can still run the store with no problems…  Just make sure you have a 32-bit JRE installed)

The latest version of the Java Store sports a new look and feel that is a dramatic improvement over the early versions.  Some of the new user interface features include:

  • Integrated UI with Featured Apps, Top Downloads, and App Browsing all in one place
  • Free-form text search for finding new applications quickly
  • Improved navigation – New apps listed first, and navigation at all levels

JavaStoreBeta1

Perhaps the biggest change is the ability for developers to charge for applications.  This is provided via integration with PayPal, and currently available for U.S. customers.  Full details on the payment system can be found in this press release.

Of course, the best applications are available for free…  Be sure to try launching WidgetFX from the Java Store and let me know how it works!

JavaStoreBeta2

Congratulations to the JavaFX team on a very nice face lift for the Java Store!

I know that many of the Java Store development team members read this blog, including Joshua Marinacci, so feel free to use the comments section to give them constructive feedback.

(Did I mention Josh has an awesome new design blog?)





First SvJugFx Meetup – JavaFX with Richard Bair

28 10 2009

I am pleased to announce the formation of a new Silicon Valley JavaFX User Group.  While this group is rooted in the SF Bay Area, we also plan to make it easy for remote attendees to watch and participate by doing live streaming of our meetings via USTREAM and allowing remote participation through Google Moderator.

richBairFor the initial launch meeting on December 9th we are fortunate to have Richard Bair as the presenter.  For those of you who don’t know him, he is a JavaFX lead developer, JavaOne Rockstar Speaker, has an awesome blog, and will be talking about JavaFX at Devoxx (where I am also presenting).  He is also a great sparring partner on almost any technical topic (speaking from experience), so Q&A should be lots of fun!

The SvJugFx Homepage is on Meetup.com where you can sign up to become a member and register for the December 9th session with Richard:

svjugfx

This is the first JavaFX User Group in the U.S. to my knowledge.  Although Japan has the title of world’s first JavaFX User Group as reported on Jim Weaver’s blog.

javafxUsersGroup





JUGSpinner Premieres at SVCodeCamp

7 10 2009

Keith Combs and I did a presentation on JavaFX and WidgetFX at Silicon Valley Code Camp this past weekend to a packed room (see below for the slides).  This was my first time visiting SVCodeCamp and I was very impressed…  With a 2 day total of over 1700 attendees, it was the place to be in the Bay Area!

The highlight of our presentation was a new secret project I just finished (literally 1 hour before the presentation started).  It is called the JUG SpinnerWheel, and is a complete rewrite of Jim Weaver‘s classic Java User Group Prize Wheel:

Clearly this is not rigged if I had to spin it 26 times!

Clearly this is not rigged if I had to spin it 26 times!

webstartsmall2

The revamped JUG SpinnerWheel includes a pseudo-3d rendered prize wheel, web service integration to meetup.com to retrieve event participants, and a winner display featuring the prototype JFXtras Table component.

We used this for the first time, and successfully gave away 3 copies of the Pro JavaFX Platform book to audience members eager to learn more about JavaFX!

You can find the full slides from the presentation (including details about the web service implementation of the JUG SpinnerWheel) on SlideShare:

Happy JavaFX hacking!





Hanging out on the Ranch

30 09 2009

All this week my co-author Dean Iverson and I will be fielding JavaFX questions on the Java Ranch.  Drop by and ask a few questions yourself and you may win a free copy of the Pro JavaFX Platform book!

The promotion ends this Friday in case you are interested in participating.








Follow

Get every new post delivered to your Inbox.