What is going on here? This is not the ButtonPanel class, so you can't define a constructor for it.