Create painterPartition.java