Simple progress monitoring for java