Vaibhav's Blog Space

JavaFX 1.2 : RIA + You

Wednesday Jun 03, 2009

So, finally sweat materialized into product. JavaOne announced the new release of JavaFX 1.2. You are welcome to visit the new cool site of javafx.com.

Also visit the sample section, fully loaded with new samples.

JavaFX 1.2 release is loaded with enormous features. Detailed list  here.

Little bit what I know, let me speak about the changes and the corresponding samples.

1. Set of new UI Controls : Buttons, Sliders, Texts ... bla bla... many more. Please figure out in this nice sample :

ProjectManager. Other new samples are also using it like FXAddressBook, StockQuote

2. Chart API : LineChart, AreaChart, BarChart(2D,3D), PieChart(2D,3D), Bubble Chart and many more. Please see the detail in Chart API doc.

Samples : Shopping Mashup, Weather Forecasting

3. Persistence Storage: Resource and Storage class has been added.

Samples: StickyNotes

4. Start-up performance has been increased around 40 percent. No Sample for it :) or we can saw all sample for it :).

5. Lot of changes in Graphics API's

6. O yes, adding of Asynchronous Operations, last time I was struggling running process in Parallel in JavaFX as it is a single threaded application.

Some more things you would like to see :

2 FullScreen Games has been added into samples repo, Reversi Game and SnakesLadders.

IMPORTANT POINT : Many times I talk about RIA, and now if you see the sample repo, there are only few samples which are not using any Web Services. Most of it, are taking Data dynamically from Web Services.

More things to come ....

[7] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Is the JavaFX chart stuff a wrapper around JFreeChart? Looks like it, in which case it will be quite heavyweight weighing in at over 1.7MB just for the Java parts.

Posted by Casper on June 03, 2009 at 02:48 PM IST #

I didn't try it yet, but I don't think is based on JFreeChart, because e.g. the AreaChart is declared as part of the "common" profile, which means it runs on mobile devices too; hence it can't be Swing based. My 2 cents.

Posted by Fabrizio Giudici on June 03, 2009 at 04:03 PM IST #

How come that you get a scary security dialog when you test the demos? Also, how come that a balloon is shown in the task tray telling me that Java is running? Flash doesn't have this.

Posted by Pepe on June 03, 2009 at 05:30 PM IST #

Yes Fabrizio, you are correct. Its not written in Swing, neither it is written on top of JFreeChart. It is completely written in JavaFX.

@Pepe: Yes it will show, because Flash and Java use different security model, in fact flash don't use any. For any webservice, Java applet has to sign the applet.
Java Tray can be anytime disables, please go into the browser setting and ticket "not show" option.

Posted by Vaibhav Choudhary on June 03, 2009 at 05:39 PM IST #

@last comment: Not in Browser setting, it is this :

Java Control Panel -> Advance -> Java Console -> Never Run the console or Hide Console.

Posted by Vaibhav Choudhary on June 03, 2009 at 05:52 PM IST #

Java tray icon is for the user, to quickly access Java Console, Java Control Panel and other information.

Still, if somebosy does not like to see it ever (tray icon is only on Windows),

right click on the tray icon,
go to Java Control Panel --> Advanced tab --> Miscellaneous and uncheck that option "Place Java icon in system tray"

Posted by Subrata Nath on June 03, 2009 at 06:01 PM IST #

You should seriously reconsider to remove this Java tray icon by default, it is just annoying for regular users.

Posted by Pepe on June 03, 2009 at 07:49 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed