Archives for category: News

Phil Race has posted a blog post over at the JavaFX Blog on the addition of LCD text support in the latest JavaFX 2.1 developer preview.

LCD sub-pixel text has become a must-have for many Windows desktop users, who have become accustomed to its superior legibility and less blocky appearance at smaller point sizes over hinted black and white text, and being sharper than grey scale anti-aliased text at the same size.

Java SE has supported LCD subpixel text on AWT heavyweights and also on Swing components using Java 2D for many years. However up until now, JavaFX has supported only more Mac OS X-like grey scale smoothed text.

For the JavaFX 2.1 release we’ve added the ability to use Windows-style LCD sub-pixel rendering. All the JavaFX UI controls will be LCD-text enabled by default on Windows, as will “WebView”, the Webkit-based node for rendering Web content.

Applications can also opt-in to use LCD text on the low-level scenegraph “Text” node by a new API : Text.setFontSmoothingType(FontSmoothingType.LCD));

I’ve been waiting for a while to say this, but we now have JavaFX 2.1 developer preview builds available for Windows, Mac and Linux. From here on out we’ll be putting out developer preview builds for all three platforms. Hopefully that pleases everyone who has been asking for Linux support :-)

It has been a hectic few months for JavaFX releases recently (and before that it was a hectic year of development building up to JavaFX 2.0!). Today we have another announcement, but first, a quick timeline:

  • JavaFX 2.0 for Windows, and JavaFX 2.0 developer preview for Mac OS shipped at JavaOne in early October.
  • In mid-October we shipped JavaFX 2.0.1 for Windows. This was a security-only release.
  • Earlier this month JavaFX 2.0.2 was released, which included a huge number of bug fixes, optimisations, some new API, and an improved redistribution license.

Today we are proud to announce that JavaFX 2.1 early access is available for Windows. It has been available for Mac OS for quite some time from the same page…

The reason why I say we’re proud: we’re hitting all the targets we’re talking about, and the releases just keep getting better and more featured. JavaFX 2.1 is going to be a more substantial release, and I’m so pleased we can get you early versions of it so soon.

Now, a word of warning: don’t use the early access releases in production – it is pre-beta code and will be more buggy than 2.0.2. We’re putting this out for public use so people may test the new features and provide feedback.

As with all other releases I’ve announced:

  • Go to the forums to discuss JavaFX questions you have,
  • Sign up to the openjfx-dev mailing list if you’re interested in our open source developments,
  • File bug reports over at our Jira issue tracker.

Happy testing!

The JavaFX 2.0.2 release is now available for download. Along with a heap of bug fixes, notable improvements include:

  • Interoperability with the Standard Widget Toolkit (SWT).
  • New scroll event that handles scrolling on two axes and replaces the MouseEvent.MOUSE_WHEEL_ROTATED event.
  • Change of license, which enables third party developers to redistribute the JavaFX Runtime with their applications in accordance with the Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX.
  • Updated doclet for the Javadoc tool that is used to generate JavaFX API documentation in HTML format.
  • Updated NetBeans projects for the JavaFX samples for use with the NetBeans 7.1 release.

The JavaFX documentation team has also put out more documentation to explain a number of areas, including:

  • Styling Charts with CSS describes how to alter the visual appearance of charts in your application. Using the various CSS classes and properties you can set an alternative color scheme, add images and graphical effects, modify the chart legend and plot, and even invent new chart symbols.
  • The Menu chapter of the JavaFX UI Controls tutorial describes how to build a menu bar in your application, add menu items, assign specific actions to each item, and set a context menu for a node.
  • Handling JavaFX Events describes how to create and use event handlers and event filters to process user interactions with your application.
  • Using a Doclet with JavaFX describes how to use the Javadoc doclet that was created for use with JavaFX source code. Using the doclet with the Javadoc tool produces customized HTML documentation.
  • Deploying JavaFX Applications describes a new JavaFX Ant helper parameter, <fx:argument>. Also new is a mechanism for passing images to the <fx:deploy> task. Use <fx:icon> to pass icons for various purposes or <fx:splash> to pass a splash screen image for Web Start applications.

Relevant links:

A very brief blog post to mention that just now the OpenJFX website and the openjfx-dev mailing list both appeared online. I’d recommend everyone interested in OpenJFX developments sign up for the mailing list.

Sometime soon the source code for UI Controls will appear in the mercurial repo. UI Controls are the first part of JavaFX to be open sourced, followed by the rest of the toolkit over the coming months. All development being done on UI controls will appear in this repo, as it happens. The source code that will appear shortly is based on the 2.1 release of JavaFX. This means that soon you will be able to build development snapshots of OpenJFX as it progresses towards each official release. This is exciting for me as it gives you early access to our APIs, allowing you to give us feedback (via our Jira tracker), which in turn allows for us to improve the API before it is released (and set in stone).

It is exciting times – I hope you all get involved! We have much more to discuss, but that can wait for another day.

Just a quick post to announce that yet another JavaFX 2.0 beta build has rolled out, this week taking us to build 38. This brings another weeks worth of bug fixes, performance tweaks and necessary API changes (based in no small part on your feedback to our Jira tracker). As always, I look forward to hearing your feedback on this latest release. The best place to discuss JavaFX 2.0 is at the OTN forum, where many of the JavaFX team lurk. However, file your bug reports / request for enhancements directly to our Jira tracker if you want to maximise your chances of being heard!

We’ve just rolled out another JavaFX 2.0 beta build (build 37) to get you access to FXML as quickly as possible (rather than wait until next weeks b38 release).

FXML is a scriptable, XML-based markup language for constructing JavaFX user interfaces. It is an alternative option for building your user interfaces, in addition to using Java, or any other JVM-based language (or a wrapper like GroovyFX). To quote the JavaOne session abstract on FXML: “The hierarchical structure of an XML document closely parallels the structure of the JavaFX scene graph, making it easy to visualize the resulting output. Event handlers can be written with any JVM-compatible scripting language, such as JavaScript, Groovy, or Clojure. Additional features include on-the-fly localization, dynamic data binding, and code modularization.”

Whilst we rolled out b37 as soon as we could to get you access to FXML, we are still working on a sample of how to use it – and this will be in the next public beta build. Additionally, we are busily working on plenty of documentation on how to use FXML which will become available in our documentation area as soon as it is ready. Who knows, if there is enough pleading in the comments on this blog post, maybe I can try to get someone to write a blog post here about the wonders of FXML :-)

Of course, along with b37 including FXML, it also contains a weeks worth of bug fixes, performance tweaks and necessary API changes (based in no small part on your feedback to our Jira tracker). As always, I look forward to hearing your feedback on this latest release. The best place to discuss JavaFX 2.0 is at the OTN forum, where many of the JavaFX team lurk. However, file your bug reports / request for enhancements directly to our Jira tracker if you want to maximise your chances of being heard!

A new JavaFX 2.0 beta build has been made available. The main feature of this release are:

  • The worker threading API that Richard has discussed previously.
  • Support for rich text editing (via the new HTMLEditor control)
  • A FileChooser dialog.
  • FXML, which is a scriptable, XML-based markup language for constructing JavaFX user interfaces. Turns out I was wrong on this – we didn’t get this into this build. It will definitely be in the next one however!

In addition, I believe that both the online API docs, as well as the developer documentation, have been updated, and additional tutorials added. These changes may take a short while to be reflected online however are now online.

I recommend that everyone that is working with JavaFX 2.0 beta builds update to the latest build as soon as possible, as that helps to uncover new issues and also reflects the very latest features and functionality. From my understanding the download rate for these beta builds has been huge, so thanks to everyone for testing the beta releases and giving such valuable feedback. I look forward to hearing your feedback on this latest release. The best place to discuss JavaFX 2.0 is at the OTN forum.

Time to hit the Oracle download servers for a brand new build of the JavaFX 2.0 beta. This build brings with it 2 weeks of bug fixes, optimisations and features. If you’re on an older release (b28 or b30), it’s time to get downloading! :-)

Also, thanks to everyone filing bugs and feature requests into our Jira issue tracker. It’s your feedback that we’re using to polish the beta releases. I hope that you’ll keep providing your useful feedback throughout the beta release train.

A new JavaFX 2.0 beta build has been made available. The main feature of this release is that it includes support for working against a 64-bit JVM (although we’re still Windows-only at this stage). Of course, knowing what I know, build 30 is a considerable improvement over build 28, as it has roughly four weeks worth of bug fixes, tweaks, and performance improvements over build 28.

I recommend that everyone that is playing with JavaFX 2.0 beta builds (and from my understanding there has been a huge amount of downloading going on) to update to the latest build as soon as possible, as that helps to uncover new issues and also reflects the very latest features and functionality.