JavaFX Clock update, now with transparency

This is an update to my previous entry “JavaFX Clock”.

I modified the code (JFXClock.fx) to use the JNA library so that the clock can be contained in a transparent window. I also added a right click menu (JFX is really cool for writing menus) so you can pause, resize and exit the application. I [...]

JavaFX Clock

For my next JFX script I slightly modified the clock example Chris Oliver wrote, and added some artwork to it so it looks somewhat like one of the Google desktop gadgets I use. The gadget is very low res, so I decided to make the image files much bigger so users can resize it without [...]

Ewoks on a Plane

I did this some time ago, we were creating some really dumb parody posters of movie sequels that should never be made …

With Samuel L. Jackson, this could be considered a proper sequel to Return of the Jedi (maybe he’s a long lost relative to Mace Windu).

“Easy Deployment Is Finally Here” session, my notes

From the last couple of posts it seems my blog is turning into a JavaFX blog, but what I really want to do is make sure I capture some important notes from last week’s JavaOne before I forget eveything. One interesting session that surprised me was the “Easy Deployment is Finally Here” by Ethan Nicholas, [...]

My first JavaFX program

So for my first JFX program, I decided to animate my friend Carlos. He just starts from the left corner and when you click him goes all the way to the right. Nothing to fancy. The main purpose of this little program is just to get my head around the syntax, which is quite [...]

JavaFX PDF viewer demo

Note: If you only see a blank area instead of a video, it might be your firewall blocking YouTube (sorry)
The most impressive JavaFX demo to me was the PDF viewer. The visual design of the application was clean and stylish, to the point that I rather be using this PDF viewer than the official [...]

JavaFX

So yesterday at CommunityOne there were some hints about some developments on the Java client side. I guess it’s obvious to guess at this point, minutes before today’s JavaOne keynote that it’s going to be about JavaFX. This technology seems like a direct competitor with Adobe’s Flex and Microsoft’s Silverlight, and may leverage existing installations [...]

No AB5K demo

I noticed I was sitting next to Josh Marinacci at the Java Posse podcast during NetbeansDay. I asked him about the demo and he said they’re not doing the AB5K desklet demo anymore. Sad to hear, I was hoping they would showcase it during one of the general sessions, specially when James Gosling was [...]

JavaOne 2007 is here

Well, technically today is “CommunityOne“. Got here late last night, and the conference started today at 10:00am. The first general session is discussion between Tim O’Reilly, Rich Green, Ian Murdock and Tim Bray. I got a bit late, but it’s a general discussion with some questions posted via email … nothing very technical at all. [...]

The sad case of the Java object that couldn’t be instantiated in Java

Today’s code blooper involves a Java object that cannot be instantiated in Java.
I was helping somebody unit test some code and we kept getting a null pointer exception on the constructor. First of all, the object in question had overly complicated constructors. Imagine something like this.
public FruitBasket(){
// Does nothing [...]