First, your OpolyPanel class extends JPanel, so there is no super.Opoly2(25). Might be better to create an instance variable of Opoly2 in your OpolyPanel class, this way your drawing can easily...