almost done with Java rendering