Changed ArrayList() to ArrayList<JShape>()