Home » Tag Archives: JavaFX (page 7)

Tag Archives: JavaFX

JavaOne 2012: JavaFX Graphics Tips and Tricks

javafx-logo

I returned to the Hilton (Imperial Ballroom B) to see Richard Bair‘s (Oracle Java Client Architect) ‘JavaFX Graphics Tips and Tricks.’ Bair is associated with FX Experience and obviously knows JavaFX. Bair said a theme of his talk is on performance. He cautioned that as with most things performance related, avoid performance pre-optimization. He had a big yellow caution screen ...

Read More »

Pure Java JavaFX 2.0 Menus

javafx-logo

In recent posts on JavaFX, I have focused on using JavaFX 2.0’s new Java APIs without use of the JavaFX 1.x’s JavaFXScript and without use of JavaFX 2.0’s new FXML. All of these examples have been compiled with the standard Java compiler and executed with the standard Java launcher. In this post, I continue the theme of using pure Java ...

Read More »

JavaFX Game (Connect Four)

javafx-logo

This is my first JavaFX game tutorial and my first blog post about JavaFX panel. I made this connect four game with just 200+ lines of code just enough for a simple game. I used the GridPane panel here to lay out the disks, GridPane is one of the JavaFX layout pane but it is different from the other pane ...

Read More »

Expression Based PathTransitions in JavaFX

javafx-logo

In JavaFX you are able to animate nodes along a path using PathTransition objects. PathTransitions use Shape objects to describe the path they need to animate along. JavaFX provides various types of Shapes (e.g. Polygon, Circle, PolyLine, Path). The Path shape is interesting in that it allows you to create complicated shapes using various movements called PathElement. Some PathElements are ...

Read More »

JavaFX Tutorial – Basics

javafx-logo

JavaFX seem to be gaining ground on the RIA space. With the right tools and development support, it wil definitely have its toll on the next best technology “thing!”. I’m not writing any JavaFX review here since there is a lot of Technology critiques out there that probably reviewed it extensively, but instead, I will write a simple tutorial on ...

Read More »

JavaFX 2 GameTutorial Part 5

javafx-logo

Introduction This is part five of a six part series related to a JavaFX 2 Game Tutorial. I know it’s been a long time since I blogged about gaming, but hopefully you’re still with me. If you would like a recap, please read Part 1, Part 2, Part 3, and Part 4 to find out where we left off. If ...

Read More »

Integrating JavaFX and Swing

javafx-logo

I’ve just finished rewriting a component of my app that was using Swing and now is using JavaFX, I’ve ended up with a JavaFX component that integrates with the larger swing app. It is a large app and the rewrite took me a while, in the end everything worked fine and I’m glad I did it. Reasons you might want ...

Read More »

Hello JavaFX 2.0: Introduction by Command Line

javafx-logo

I looked at a simple JavaFX version of the ubiquitous Hello World example from a NetBeans 7.1 beta perspective in the blog post Hello JavaFX 2.0: Introduction by NetBeans 7.1 beta. In this post, I look at a slightly different version of Hello World implemented with JavaFX using only command-line tools. The JavaFX 2.0 API documentation includes the class description ...

Read More »

JavaFX 2.0 Layout Panes – GridPane

javafx-logo

The GridPane is without a doubt the most powerfull and flexible layout pane in JavaFX 2.0. It lays out its children in a flexible grid of columns and rows and is very similar to Swing´s GridBagLayout or HTML´s table model. This approach makes this pane very well suited for any kind of form (like contact forms on a website). You ...

Read More »

JavaFX 2.0 Layout Panes – BorderPane

javafx-logo

A BorderPane is very well suited to develop more complex layouts. In general the BorderPane provides five different regions: Top, Right, Bottom, Left and Center. You can set a Node to each of these areas by calling the setTop/setBottom/set… methods. This approach makes it very easy to develop “website-like” application windows where you have a menubar or toolbar at the ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close