A virtual wallet in java