Archive for the ‘Java’ Category

The maximum number of methods in a class

The other day I saw a Java interface with well over 300 methods (with no inheritance). It’s one of these interfaces that is a single point of entry into a system, and I’m partly to blame. Really didn’t think about how the API should scale, and now that there’s years and years of development [...]

Read the rest of this entry »

Google Android update: videos, development group, blogs

Videos on Google Android development can be found here;
http://www.youtube.com/user/androiddevelopers
There’s also a Google Group community setup for developers; http://groups.google.com/group/android-developers
As far as “blog reactions” there has been a lot written on the release of this SDK;
Happy Birthday to Android and devphone.com
JavaLobby: Android is out, first looks
Slashdot: Google’s Android Cellphone SDK Released
Comic: Android SDK reactions
Android SDK, Demo [...]

Read the rest of this entry »

Android SDK released!

Google has released the Android SDK on Google Code. The SDK is Java based and runs on Windows XP/Vista, Mac OS X 10.4.8+ and Linux. It requires a JDK 5 or 6 and Ant. Google provides an Eclipse plugin, but there are also instructions for using the SDK without Eclipse or with other IDEs (Jonathan [...]

Read the rest of this entry »

New Java logo, Ruby style! (a few thoughts on programming language marketing)

No, I’m not proposing my brand new Java logo replace the latest one from Sun. As a matter of fact it’s hardly a good logo, and seems more like a book cover, but for some reason a very similar logo (the one mine is based on) was selected as the official one for Ruby.

People [...]

Read the rest of this entry »

Beware of rotten apples

I like Apple, it’s a highly innovative company with great products. I passion for programming was developed as a kid when I had an Apple //c. I own a couple of iPods and wouldn’t mind having one of those cool MacBooks. A few years ago, and at this year’s JavaOne, I noticed lots of [...]

Read the rest of this entry »

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 [...]

Read the rest of this entry »

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 [...]

Read the rest of this entry »

“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, [...]

Read the rest of this entry »

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 [...]

Read the rest of this entry »

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 [...]

Read the rest of this entry »