Java Fx
posted Aug 11, 2009, 9:36 AM by Thiyagaraaj M [ updated Aug 16, 2009, 9:27 PM ]
Contents
- 1 Java Fx Overview:
- 2 JavaFx Scirpt
- 3 JavaFX Platform Components
- 4 Technical Highlights Of JavaFx
- 5 Why the JavaFX Platform?
- 6 Key features of the JavaFX platform
- 7 JavaFX Platform Tools
- 8 Features & Benefits Of JavaFx
- 9 JavaFx Script Features
- 10 Example Program Of JavaFx Script
- 11 JavaFx Licensing
- 12 Download Here
Java Fx Overview:JavaFX is a software platform for creating and delivering rich Internet applications that can run across wide variety of connected devices. The current release (JavaFX 1.2, June 2009) enables building applications for desktop, browser and mobile phones. TV set-top boxes, gaming consoles, Blu-ray players and other platforms are planned.JavaFX is fully integrated with the Java Runtime Environment (JRE) ??? JavaFX applications will run on any desktop and browser that runs the JRE and on top of mobile phones running Java ME. To build JavaFX apps developers use a statically typed, declarative language called JavaFX Script. On desktop, the current release supports Windows XP, Windows Vista and Mac OS operating systems. Beginning with JavaFX 1.2 Sun has released beta-releases for Linux and OpenSolaris. On mobile, JavaFX is capable of running on multiple mobile operating systems, including Android, Windows Mobile, and proprietary real-time operating systems. JavaFx ScirptThe JavaFX family of products features a high-performance declarative scripting language, JavaFX Script, for building and delivering the next generation of rich Internet applications for desktop, mobile, TV, and other consumer platforms.JavaFX Platform ComponentsThe JavaFX platform contains cross-platform and platform-specific runtime environments and support libraries. It includes a declarative language called JavaFX Script, as well as a set of development and design tools. This ensures that applications can provide a consistent look and feel across devices with diverse form factors and capabilities. Current release of JavaFX platform includes the following components:
1. The JavaFX SDK: JavaFX compiler and runtime tools. Graphics, media web services, and rich text libraries
Commentators have speculated JavaFX to compete on the desktop with Adobe Flash Player, Adobe AIR, OpenLaszlo, and Microsoft Silverlight.2. NetBeans IDE for JavaFX: NetBeans with drag-and-drop palette to add objects with transformations, effects and animations plus set of samples and best practices. For Eclipse users there is a community-supported plugin hosted on Project Kenai 3. Tools and plugins for creative tools (a.k.a. Production Suite): Plugins for Adobe Photoshop and Adobe Illustrator that can export graphics assets to JavaFX Script code, tools to convert SVG graphics into JavaFX Script code and preview assets converted to JavaFX from other tools Technical Highlights Of JavaFxCommon profile. JavaFX is based on the concept of a ???Common profile??? that is intended to span across all devices supported by JavaFX. This approach makes it possible for developers to use a common programming model while building an application targeted for both desktop and mobile devices and to share much of the code, graphics assets and content between desktop and mobile versions. To address the need for tuning applications for the needs of specific class of devices, the JavaFX 1.1 platform includes APIs that are desktop or mobile-specific. For example JavaFX Desktop profile includes Swing and advanced visual effects.Drag-to-Install. From the point of view of the end user ???Drag-to-Install??? allows them to drag a JavaFX widget or application residing in a website within the browser window and drop it onto their desktop. The application will not lose its state or context even after the browser is closed. An application can also be re-launched by clicking on a shortcut that gets automatically created on the user's desktop. This behavior is enabled out-of-the-box by the Java applet mechanism and is leveraged by JavaFX from the underlying Java layer. Sun touts ???Drag-to-Install??? as opening up of a new distribution model and allowing developers to ???break away from the browser???. Integrating graphics created with third-party tools. JavaFX includes a set of plug-ins for Adobe Photoshop and Illustrator that enable advanced graphics to be integrated directly into JavaFX applications. The plug-ins generate JavaFX Script code that preserves layers and structure of the graphics. Developers can then easily add animation or effects to the static graphics imported. There is also an SVG graphics converter tool (a.k.a. Media Factory) that allows for importing graphics and previewing assets after the conversion to JavaFX format. Why the JavaFX Platform?Developers are seeking the most efficient way of creating expressive content in applications that appear on desktops, on the Internet, and on mobile devices. They need to build high-fidelity GUI's that operate seamlessly on multiple Web browsers, operating systems and devices, without having to port or rewrite their applications for each screen. To meet this goal, developers need to work efficiently with team members such as graphics designers and media authors to exchange audio, video, and other rich media assets.The JavaFX platform contains an essential set of tools and technologies that enable developers and designers to collaborate, create, and deploy applications with expressive content to browsers and desktops. Mobile application developers can use the JavaFX Mobile Emulator to preview applications for mobile devices using the JavaFX platform. Key features of the JavaFX platform
JavaFX Platform ToolsThe available downloads are organized by the functionality you need to start developing with JavaFX. The diagram shows the download bundles, and the following sections contain a detailed description of what each download bundle includes.![]() Developer BundleThe developer bundle contains the following tools.
Designer BundleThe designer bundle consists of JavaFX Production Suite, a single download that contains the following tools to enable designers to exchange visual assets with developers. JavaFX Plugin for Adobe Photoshop and JavaFX Plugin for Adobe Illustrator Plugins for Adobe Photoshop and Adobe Illustrator export graphic assets from creative designer tools to the JavaFX format. Developers can start building their applications based on mockups that the designer creates. As the visual design evolves, it is easy for the developer to incorporate changes in the artwork for the final version of their application. When designers save their graphic to the JavaFX format they can compare how the graphic will look in desktop and mobile applications, and they can view metrics that enable them to minimize resource demands on mobile devices.
Stand-alone SDKIf you prefer using other tools, or developing directly via the command line, you can download the stand-alone SDK.
Features & Benefits Of JavaFxThe JavaFX Rich Client platform and tools suite offers distinct advantages to Web Developers, Web Designers and Java Developers who are building rich, connected experiences.
JavaFx Script Features
Example Program Of JavaFx ScriptJavaFX Script's declarative syntax for constructing user interfaces contrasts sharply with the more verbose series of method calls required to construct an equivalent interface in Swing directly. Here is a simple Hello world program for JavaFX Script :import javafx.stage.Stage; It shows the following window/frame :JavaFx Licensinghere are currently various licenses for the modules that compose the JavaFX runtime:
Download Herehttp://javafx.com/downloads/all.jspSources: http://www.sun.com/software/javafx/script/ http://java.sun.com/javafx/ http://www.sun.com/software/javafx/features.xml http://javafx.com/about/overview/ http://javafx.com/learn/ http://en.wikipedia.org/wiki/JavaFX http://www.ibm.com/developerworks/java/library/j-javafx/ http://en.wikipedia.org/wiki/JavaFX_Script http://java.sun.com/javafx/1/tutorials/core/modifiers/ http://javafx.com/docs/gettingstarted/javafx/ |