JavaFX 1.2 : RIA + You

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

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 ....


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 07:48 AM 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 09:03 AM 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 10:30 AM 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 10:39 AM 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 10:52 AM 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 11:01 AM 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 12:49 PM IST #

Hi Vaibhav,

first of all heartly congratulation for you achievements.

reason behind putting this comment is that i am very much interested in weather forecasting project. I wanted to be part of the project which will really solve our farmer's project by giving the weather forecast information atleast a week.

I need some information from you. the question are follows :

1. Can we forecast weather in india. as you shown example of US weather.
2. if Yes, can we develop it in Java ? As i am very much comfortable with java.
3. Even if we can't develop using java i am ready to learn those technologies which will help to develop this project.
the main question is how much accuracy will be having that project. Can we use american satelite for getting indian weather forecating. Is there any kind of API available for this.

Even ISRO is doing some research in this. do have any link with them.

Many thanks for this informative blog.

hope you will enrich many height of your life


Posted by Dinesh Patil on January 29, 2010 at 01:00 PM IST #

any comment on above message vaibhav ???

Posted by Dinesh Patil on February 09, 2010 at 06:07 AM IST #

Post a Comment:
  • HTML Syntax: NOT allowed

Vaibhav Hi, I am Vaibhav Choudhary working in Oracle with JDK team. This blog is all about simple concept of Java, JVM and JavaFX.


« June 2016