java mass edit