Category Archives: JavaFX

PHPHOST BLOG

Web Hosting Related Articles You May Need

Book Review: JavaFX 2.0: Introduction by Example

Although Oracle’s changes to JavaFX at JavaOne 2010 and JavaOne 2011 have converted me from a skeptic to a believer when it comes to JavaFX, the shift in JavaFX vision has not been without its downsides. In particular, the JavaFX book market has been t… Continue reading

Posted in Book Review, JavaFX, Syndicated | Leave a comment

Focus on JavaFX 2 FXML with NetBeans 7.1

In October 2011, I used the post Hello JavaFX 2.0: Introduction by NetBeans 7.1 beta to look at using NetBeans 7.1 beta to build a simple Hello, World style of JavaFX 2.0 application. In this post, I look at using NetBeans 7.1 (no longer in beta) to bu… Continue reading

Posted in JavaFX, NetBeans, Syndicated | Leave a comment

Pair Class Coming to Java via JavaFX?

The pair class is familiar to those of us who have used C++ for any considerable length of time. Although there has been talk of adding it to Java as a standard part of the SDK, it is a somewhat controversial topic. Several folks have formally requeste… Continue reading

Posted in Java (General), JavaFX, Syndicated | Leave a comment

Applying Sepia Effect to Loaded Images in JavaFX 2.0

In this blog post, I look at a very simple JavaFX 2.0 application that loads an image provided on the command-line and presents it in both normal form and with JavaFX 2.0′s SepiaTone effect applied to it. The simple application presents the two images … Continue reading

Posted in JavaFX, Syndicated | Leave a comment

The Challenges of a JavaFX Reboot

In Jonathan Giles’s post An FX Experience Retrospective, he starts by looking at the history of JavaFX and focuses on “what has happened in the world of JavaFX” in 2011. I was highly skeptical of JavaFX prior to JavaOne 2010 (see here and here for exam… Continue reading

Posted in JavaFX, Syndicated | Leave a comment

Rendering HTML Within JavaFX

JavaFX 2.0 allows for inclusion of HTML code within a JavaFX application using JavaFX 2.0′s WebView and WebEngine classes from the javafx.scene.web package. This post looks at a very simple example of how this can be done. Much more sophisticated appli… Continue reading

Posted in JavaFX, Syndicated | Leave a comment

Integrating JavaFX 2.0 with Swing and SWT

One of the improvements in JavaFX with JavaFX 2.0 has been greater ease of interoperability with Swing and SWT. Several online resources document how this is done. These include Integrating JavaFX into Swing Applications and SWT Interop. However, in a … Continue reading

Posted in JavaFX, Syndicated | Leave a comment

JavaFX 2.0 Bar and Scatter Charts (and JavaFX 2.1 StackedBarCharts)

JavaFX 2.0 provides built-in capabilities for generating charts, a capability found within the javafx.scene.chart package. In this post, I look at creating bar charts and a scatter chart in using JavaFX 2.0. During the course of this post, I use Guava … Continue reading

Posted in JavaFX, Syndicated | Leave a comment

Sneaking a Peek at JavaFX 2.1 Beta

It was announced earlier this month that the JavaFX 2.1 Developer Preview Edition (early access) for Windows is available for download (previously available for Mac). In the post JavaFX 2.1 early access for Windows (build 06) now available, Jonathan Gi… Continue reading

Posted in JavaFX, Syndicated | Leave a comment

JavaFX 2.0 Path Alternatives

In the post JavaFX 2.0 Christmas Tree (JavaFX 2.0 Shapes), I demonstrated using JavaFX 2.0′s Path class in conjunction with MoveTo and LineTo to draw a simple Christmas tree. In this post, I look at using three alternatives to Path for drawing the Chri… Continue reading

Posted in JavaFX, Syndicated | Leave a comment