Mithun's Memoirs

Wednesday Dec 12, 2007

Scenegraph Intro

Project Scene Graph is a technology that eliminates the need for caching objects, dealing with repaints,
clipping algorithms and the like. It eliminates the need for writing complex graphics code. Built by the guys who work
on Java2D this mechanism offers great
acceleration of all sorts. JavaFX runtime also uses scene graphs which
makes writing graphically rich applications much easier. Check out the project for more information on Scene Graph.

[Read More]

Tuesday Dec 11, 2007

Hyperlinks JavaFX

With JavaFX, you could embed hyperlinks in your text labels and use them instead of classical GUI components like buttons. In this demo, we shall have a look at how this could be done. Here, we shall use text to handle actions, which is typically a mouse click, and perform the associated actions.

[Read More]

Monday Dec 10, 2007

JavaFX Menus

A full-featured user interface does not require the user to use the mouse all the time. Instead, it provides keyboard shortcuts that allow the user to operate the application primarily or entirely with the keyboard. Swing has a number of features that support keyboard shortcuts. Javafx also provides these functionalities as any Swing application. Here, in this post, we shall discuss the aspect of creating menus and mnemonics.

[Read More]

Saturday Dec 08, 2007

Pure JavaFX Demo

In this post, I shall demonstrate how to create a pure JavaFX script. My previous post used the Java APIs in creating the user interface. However, this is not what JavaFX is all about. Here, in this post, I shall demonstrate how one could create GUI components "without" using the Java API in your source listing.

[Read More]

JavaFX Look and Feel

With JavaFX script, its possible to use the existing Swing Look and Feel (L&F) classes to create applications using the native looks or those provided by custom UI package providers. In this writeup, I shall show how one could do this.

[Read More]

Friday Dec 07, 2007

JavaFX rocks

Today, I checked out the JavaFX stuff using the NetBeans plugin and I'm impressed with JavaFX and NetBeans as a bundle. I tried my hand at writing a small function and in creating a GUI. Looks like with a little effort, one could create GUIs on the fly. The syntax is somewhat like Javascript, which I've been using for a while now. Looks like the learning curve is pretty shallow, which is indeed a boon for web-designers and developers to try their hand at JavaFX in developing applications for the web, mobile or your computer.

[Read More]