Port of http://javaforge.com/repository/5074