add getters and settres in MyPanel