public void paintShape() { TypeColorShapeTable tcst = TypeColorShapeTable.getInstance(); for (int vertIndex = 0; vertIndex < pickedVertex.length; vertIndex++) { tcst.addShape("" + pickedVertex[vertIndex].getProperty(Constants.VERTEX_NAME), shape); } GraphPlaySheet playSheet = (GraphPlaySheet) QuestionPlaySheetStore.getInstance().getActiveSheet(); playSheet.repaint(); }