Java have long failed to woo Internet users on the client front-end. Flash was ruling it for years; but wit the recent announcement of SilverLight from Microsoft, Sun could no longer stay behind. So, they are trying again with a consumer-flavored Java – JavaFX.
JavaFX is said to be a new scripting variant of Java with a focus on development for the consumer communications market, including desktops, mobile clients, and TVs. The first product release is JavaFX Mobile, a software system for mobile devices.

