Tuesday Nov 03, 2009

Want to make an image slideshow for use on your website? Find out how, with our latest tutorial and screencast from technical writer Scott Hommel. With these instructions, you'll walk through the end-to-end development of an image slideshow application, complete with animated fade transitions. The discussion is presented as six concrete steps, with each step building on the last. Get to the fun stuff with minimal effort by copying and pasting the source code, or just watch the video screencast to see it all developed with NetBeans IDE. 

Image Slideshow tutorial

Tuesday Oct 27, 2009

We've updated the Tech Test Train. The new version features cumulative scoring and improved performance. The final score of a completed Route carries over to the next Route. A perfect game score is 27,000 points. Will you be one of the first to join the 303 club? Try this new version and post your score in the comments section of the JavaFX Training page.


Tech Test Train Route image

Friday Sep 18, 2009

Two of our JavaFX tutorials are now available in Russian on developers.sun.ru:

Thursday Sep 17, 2009

If you're working as a designer on RIAs and exporting graphics to JavaFX with Production Suite, it's very helpful to know the features in your graphics tool that are supported for export.

The lists of supported features for Adobe Illustrator, Adobe Photoshop, and SVG format have been available in the Production Suite online help, which is installed with the product, but now they are available on javafx.com, too.

Thursday Sep 10, 2009

Learn how to easily improve the visual appearance of your JavaFX applications with two new docs added to the Layouts, Effects, Themes section of our main Reference page.

Have you ever tried to make a shift in rendering textual content by applying a custom font? Read Using Custom Fonts in Your JavaFX Application, a technical tip provided by Dmitry Kostovarov. This tech tip describes how to make the text look just the way you want on any computer.

Benefit from different layout approaches discussed in Using Layout Containers by Inyoung Cho and Alla Redko. Play with the Flower Viewer demo to learn more about layout containers and choose the most appropriate model to arrange pictures in your application.

Flower Viewer Application

Monday Aug 31, 2009

The Tech Test Train game has a new feature !

Now, the game will auto-complete your answer as you start to type the correct answer. This feature helps you complete your answer within the 15-second time frame. 

http://blogs.sun.com/javafx/resource/game

Try it and give us your feedback!

[The Tech Test Train game, an interactive eLearning game built entirely with JavaFX 1.2 technology.]

Sunday May 03, 2009

JavaFX.com now has a set of resources that can help you craft a better look and feel for your JavaFX applicaiton. 

Image, Color Schemes, Fonts, Sound Effects and Music and Icons - galore !! Check it out ! 

Tuesday Apr 28, 2009

JavaFX Application Examples Link to Gettting Started with JavaFX tutorial Link to Media Browser tutorial Link to button rollover effect techtip Link to animated line graph article Link to Transparent Window sample Link to calculator sample

Sometimes it seems that all the world's a Java developer--but I'm not. I am Nancy Hildebrandt, a technical writer at Sun Microsystems, and I have more of a scripting background.

If you're new to JavaFX, and especially if you're new to Java too, here's a learning trail you can follow. Feel free to take shortcuts and move around in the list. The fastest way to learn is to keep trying and changing the JavaFX Script code yourself.

I recommend installing NetBeans IDE with JavaFX, since it has quite a bit of JavaFX help built in, plus an error-checking device that alerts you to problems in your code.

  1. Build a very simple application of your own from scratch in the NetBeans IDE, such as creating a screen with simple text or one or two objects. If you get stuck, move ahead to the following steps to get more information.

  2. Work through the following tutorials, in the following order.
  3. Look at some of the articles and tech tips on the JavaFX Learn page. Each article and tech tip has an assigned level of Beginner, Intermediate, or Advanced. Here are the current articles and tech tips for beginners: New articles and tech tips come out every week, so keep checking the Learn page.
    Download the application when provided in the article, and make changes to it in the NetBeans IDE. Sometimes it's easier to figure out the purpose of an object when you can see what effect it has when you run the application.

  4. Consult the following reference documentation:
    • JavaFX API documentation, especially the Master Index to look up information on individual classes or variables.
    • JavaFX Language Reference: Although it's still in draft form, there's some good information you won't find anywhere else.
    • Google searches (or any other search engine): there are lots of Web sites and blogs that have information about JavaFX.
  5. Look at some of the JavaFX samples, especially some of the ones that extend what you have already learned, such as the following:

Thursday Apr 16, 2009

Over the past few weeks, we've posted two articles describing how applets written in the JavaFX Script programming language can interact with JavaScript code in the pages that contain them.

The first article , written by Sun engineer Ken Russell, describes this JavaFX Script - JavaScript bridge. It covers the technical details of calling from JavaScript into JavaFX Script and vice versa. In this article you will learn how to set variables, invoke functions, descend into the scene graph, show documents in a web browser, and more.

The second article, written by Sun technical writer Scott Hommel, renders a set of 2D dice, with values that are set by the containing JavaScript. This short tutorial walks the user through the application development process, covering additional considerations to make when using the javafxpackager tool.

Thursday Apr 02, 2009

If you have an existing MIDP application or are interested in learning about using JavaFX technology with a mobile application, check out the following:

Monday Mar 30, 2009

Bookmark the Learn page on javafx.com, because it's updated every week. The list of tech tips is growing, and there's something for every level of JavaFX developer:

Beginner

Intermediate

Advanced

Images from Tech Tips

Besides tech tips, there are new articles listed on the JavaFX Learn page, plus all of the tutorials and getting started guides that came with JavaFX 1.1.

Friday Mar 27, 2009

When you want your data to make a good impression, you have to present it in a way that will attract attention and be easy to understand.

The Learn page on javafx.com has two new articles that show how easy it is to create visually appealing animated graphs in JavaFX. Create an Easy Animated Line Graph demonstrates how to create an animated line graph. Create Jazzy and Jazzier Bar Charts shows how to create two different bar graphs.

Friday Mar 13, 2009

The JavaFX writing team published four new articles this week.  Here's an overview: 

JavaFX Script -- JavaScript Bridge

Learn how JavaFX applets can communicate with JavaScript code to bring a new level of interactivity to your web pages. This article examines how to call one language from the other, using the JavaFX Script—JavaScript bridge. Requires Java SE 6 Update 10 at minimum.

Incorporating Media Assets

Explore the JavaFX Media functionality, including the supported formats, platforms, and features. This document and screencast are the first part of the technical article, Incorporating Media Assets Into JavaFX Applications.

Media Browser Application -- More Mobile Features

Discover how the existing Media Browser application has been updated to rotate, zoom, pan, and swipe images on a mobile device. These mobile features are demonstrated on the JavaFX Mobile Emulator.

Creating a RESTful Web Service and JavaFX Client

Learn how to use the NetBeans IDE with GlassFish and MySQL to create a RESTful web service. You'll also learn how to use the NetBeans IDE with JavaFX support to run a JavaFX client for the web service.