Author Archives: Rob

Very Basic JavaFX 2.0 Component

I work a lot with Swing and one of the more common tasks is creating a custom component. This usually involves some custom drawing. Here is a quick example of a component that displays a black circle. Very basic, but … Continue reading

Posted in Uncategorized | Leave a comment

Java Quick Data Store

I’ve written a small library to quickly save and load data in a Java app. It’s a simple persistent data store. I plan to use it in some upcoming demos. Example: QDS.save(“Testing”, “A String”); String s = (String)QDS.load(“Testing”); Downlaod src

Posted in Uncategorized | Leave a comment

JavaFX 2.0 Fading Status Message

When a user completes an action it’s nice to display a message to show that the action was successful. With JavaFX animations this becomes very easy to do. The code below displays a message when a button is clicked, and … Continue reading

Posted in Uncategorized | 1 Comment

JavaFX 2.0 Layout with MigPane

I have been starting to look at JavaFX 2.0 since I have been doing a lot of GUI work in swing. The first challenge was layout since it is different from swing. JavaFX comes with a number of Panes (or … Continue reading

Posted in Uncategorized | 2 Comments

Javascript Style Guide

Google has a style guide for writing javascript. I think it’s great. Link

Posted in Uncategorized | Leave a comment