Java programming effort