update java-pass-by-value, fix image display