Fiddling around with java