Tuesday, February 9, 2010

JavaFX colorlines game (on JavaFX 1.2)

One of good things at Sun is that there are always new technologies to play with, even if it's not related to my daily job. In November, 2008, I did a simple implementation of colorlines game with JavaFX, of course it runs on JavaFX 1.0. 
Over one year passed, I know there's a lot of changes from JavaFX 1.0 to JavaFX 1.2. So today I decided to upgrade it. Fortunately, I don't need change one line of codes, it passed  compilation with JavaFX1.2 on Netbeans 6.8.  However, it had problem during runtime on Windows XP: running as applet is O.K., but running as web start did not show anything. Then I changed to ubuntu linux and opensolaris, everything worked fine. I checked the source codes and Java debug console, but could not find any clue, It's so weird. 
Anyway, JavaFX 1.2 showed faster than JavaFX 1.0. I put the codes to Google Code. If anybody can point out the problem I will  appreciate that  very much.

No comments:

Post a Comment