Tuesday Aug 05, 2008

The initial JavaFX Preview SDK release has gone pretty well. There were a few snafus and broken links, but overall it has gone pretty smoothly for a first preview release. As we plan our next steps I thought I'd ask you all a question. In fact, I'm going to abuse the great power of my blog (2-3 power, to be exact) by begging. So this is a blog beg, or bleg: what samples do you want to see?

If you've downloaded the SDK already what would you like to build but don't know how to? If you haven't downloaded the SDK what sample would inspire you to try it out? If you've already started building an app, what problems you encountered? What could you use help with? Deployment? Media? Animation? Browser integration?

At the end of the day we are making this SDK so that you guys will build interesting applications. What samples can I build to help you do that?

Thanks.

- Josh
Comments:

I originally used the javafx.ui package to build Frames, and other UI components. As I look through the API and the new desire to make javafx.application the standard package, well that's my break point.

Application samples, and how far they could go. If the javafx.ext.swing.SwingFrame, and other interfaces, are going to go away - how would we best use the Application interface?

Posted by Curtis on August 05, 2008 at 09:40 AM PDT #

For the time being you should use the javafx.application.Frame class for apps which use graphics and javafx.ext.swing.SwingFrame for apps which use swing components. We are working to improve the Swing/Graphics interoperability and the Application class so that you will have only one way to do things.

Posted by Josh Marinacci on August 05, 2008 at 09:58 AM PDT #

We have been using/testing out JavaFX for creating a prototype for a future interactive TV application. I have noticed that there are plenty of animation examples available, but I have not found as many good tutorials explaining the syntax, keyframes, timeline, etc. For someone with no background in animation and Java2d, it would be useful to have a grounds up tutorial to keyframe animation, recommended patterns for designing animations, etc. Also, examples and tutorials on the various effects would be useful as well. I have not seen much on effects.

Posted by Steve on August 05, 2008 at 10:24 AM PDT #

Also, I am still not quite clear of when to use triggers. I understand how they work, but I am not sure as to where to best apply them. For instance, best practices/examples of the usage of triggers would be useful.

Posted by Steve on August 05, 2008 at 10:31 AM PDT #

As far as snippets go, I would like to see some common ui element examples. For example; how to make a set of min/max/close buttons, or how to make and use a status bar.

What I would really like to see are some javafx patterns. I think javafx has a great deal of potential as a 'prototyping language'. Are there development patterns that will show us how to go from a back-of-the-napkin design to a scalable, reusable prototype?

Posted by Brandon Zarzoza on August 05, 2008 at 10:35 AM PDT #

A good idea would be to deploy some realworld RIAs and make their source code available. In addition you could provide for every RIA tutorials, which teach specific features of JavaFX.

Some possible RIAs could be:

> not a pet shop store

> a RSS feed aggregator, where one can add or remove feeds on the fly. Everything could be calculated on the clientside, while utilizing the java db and thus avoiding server loads (and related server / demo costs).

> an online game (any genre)

> an online and interactive 'paint' app. Drawing geometrical stuff and probably even utilizing animation features. For instance make a circle move from point a to point b or make it move randomly. A bonus would be an optinal collision detection between objects.

cheers,
Andreas

Posted by Andreas on August 07, 2008 at 01:35 AM PDT #

I'd like to see how to combine nice and fluid graphics together with more classical stuff like tables that correspond to well-typed table models. A tutorial on this could be based on the Stock Watcher demo. What about a GUI such as Stock Watcher on top of business logic that's realized using common (MVC) Web-frameworks? How to realize nice scrollable table visualization for larger amounts of data?

Posted by M Rohr on August 07, 2008 at 08:40 AM PDT #

what i would really like to see is a visual development IDE like adobe has for flash. coding animations from ground up is not so easy. I would like a visual IDE, from which i could also add javafx script.

reportmill is doing somthing good.
plz josh, are there plans by sun for a visual development IDE for javafx.

Posted by obinna henry on August 07, 2008 at 10:26 AM PDT #

I will like to see something similar demonstrated for Flex 3 + AIR.

So here are some links

video - How to build a Flex app with Flex 3 Builder (A Netbeans / JavaFX similar demo will be more then welcomed to compare the speed of development + resulted LOC)
http://www.adobe.com/products/flex/media/flexapp/

ILOG Elixir - Advanced Data Visualilsation for Adobe Flex and AIR (Very powerful set of components ... so just steal some ideas; right click on demos to see the source code)
http://www.ilog.com/products/ilogelixir/demos/

Posted by El Cy on August 07, 2008 at 01:07 PM PDT #

1) Just make the source code & Webstart links for the JavaFX demos from JavaOne 2008 available !

2) Replace javafx.com Quicktime videos with some JavaFX nice video players (applets)

Posted by El Cy on August 07, 2008 at 01:10 PM PDT #

Just take a look into the Flex showcase ... you can pick some great apps then show us how simple is to make them with JavaFX

Flex Showcase
http://flex.org/showcase/

Posted by El Cy on August 07, 2008 at 01:48 PM PDT #

Tree drop down menu using adobe
Tree drop down menu hardcoded

Posted by Devens on February 25, 2009 at 03:32 PM PST #

what i would really like to see is a visual development IDE like adobe has for flash. coding animations from ground up is not so easy. I would like a visual IDE, from which i could also add javafx script.

reportmill is doing somthing good.
plz josh, are there plans by sun for a visual development IDE for javafx.

Posted by Warhammer Online Gold on March 11, 2009 at 10:59 PM PDT #

Javafx I hope to have ready-made tree, table components, there is the ability to flexibly the layout, so that the layout can be relatively free to develop a useful procedure.

I would like to put my jsf program into javafx procedures, so that can have a greater coverage, and better operating experience.

Unfortunately, javafx the loading speed is still too slow, then quick like, and load a simple scenario also appears slower.

If we can, like jsf + ajax, as the scene switches a little faster, it is really great, javafx development needs to be accelerated ah.

Posted by abercrobmie and fitch on November 27, 2009 at 11:28 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed