JavaFX and Pong

There was a workshop conducted by engineers form SUN in our college regarding JavaFX, which went quite well. I was planning to start with JavaFX but as there was no Official release of any Linux SDK, it kept me back but this semester i had to install Windows because of my University which wants me to use Visual Studio for my mini project this semester, so as i had Windows (unwillingly) on my system i planned to go and attend this JavaFX workshop.
From what i have learned in these two days, JavaFX looks promising for developing Rich Internet Applications, the language is somewhat a mixture of JavaScript and Java. With Type Inference , Audio/Video support etc making it very easy to use and create applications with.
In the workshop after every thing was over we were asked to make a simple application in JavaFX, so here is my code for a Simple pong game in JavaFX
the resolution is set to 1440×900 you can change it to your resolution in the code


if you cannot see the code see here

PS – as i dont normally boot into windows i dont think that i will do anything in it soon, i am waiting for Linux JDK to be released…….

Tags: , , ,

This entry was posted on Sunday, March 1st, 2009 at 11:08 pm and is filed under Stuff, fedora. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “JavaFX and Pong”

Pete K March 4th, 2009 at 8:17 pm

Heya, Nice to see the Snipt embed getting some use.

Any tips on how we could improve it? What could we do to make it perfect for you?

Leave a Reply