Rohit Sawarkar's Blog

Java FX


Hi Everyone,
In this post I am going to tell you something about Java FX.. 🙂

What Is Java FX?

The JavaFX platform is the evolution of the Java client platform designed to enable application developers to easily create and deploy rich internet applications (RIAs) that behave consistently across multiple platforms. Built on Java technology, the JavaFX platform provides a rich set of graphics and media API with high-performance hardware-accelerated graphics and media engines that simplify development of data-driven enterprise client applications.

Investing in the JavaFX platform provides the following advantages to Java developers and companies that are part of the Java ecosystem:

  • Because the JavaFX platform is written in Java, Java developers can leverage their existing skills and tools to develop JavaFX applications.
  • Because Java is widely used, it is easy to find experienced Java developers who can quickly become productive building JavaFX applications.
  • By using a homogenous set of Java technologies for both the server and the client platforms, the JavaFX platform reduces the risk of investment by reducing the complexity of the business solutions.
  • Development costs are also reduced because of the aforementioned advantages.
  • The JavaFX platform provides developers with a development framework and runtime environment to create enterprise and business applications that run across multiple platforms that support Java.

To build JavaFX apps developers use a statically typed, declarative language called JavaFX Script; Java code can be integrated into JavaFX programs. JavaFX is compiled to Java bytecode, so JavaFX applications run on any desktop and browser that runs the Java Runtime Environment (JRE) and on top of mobile phones running Java ME.

  • The vision of JavaFX product family is to deliver “the ablility to create interactive  content, applications and services from desktop to mobile devices in living room”.
  • JavaFX consists of two technologies: JavaFX Script and JavaFX Mobile.JavaFX Script is a language that is targeted at content authors. JavaFX is a fully object oriented language. Using simple, declarative scripts, content authors can create very rich user interfaces. JavaFX Mobile is essentially a layered software system for mobile devices on which programs developed in JavaFXScript can execute.

Technical highlights

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

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 and is visible 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 created automatically on the user’s desktop.

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.

Enjoy… 🙂

Happy Sharing … 😀

Leave a comment »

Created First Android Application


Hello Friends…,

Yesterday.. I created my first android application which wasn’t a big one… but  a satisfying  one to start with…. 🙂

Something is better than nothing.. 🙂

I created this application as part of the OSC meet and I was very happy that i was able to complete it… I referred Vogella blog (http://www.vogella.de/) to create this application.. This application converts Celcius to Fahrenheit and vice versa..

Frankly speaking I followed the steps to create this app.. I am not taking his credits.. But I have an idea of modifying that app to be a generalized one…

As this was my first application I wanted to learn something from it… and was able to do that very easily and quickly.. 🙂

And to tell u more this is my first official blog… 😀

I wish to create more Android Application in near future… 😀

Thanks and Enjoy.. 🙂

1 Comment »