Edited by Zhuo Chen: Implement basic draw function in WorkSpaceView.java