Dot Matrix port for Java