definePanel