title: How to create panel with title in primefaces?
body: <p>Good Evening, please could any one experienced with primefaces tell me how to make a pnel like the one below, i want to make that panel and embed an <code>&lt;p:imageSwitch&gt;</code> inside it, is that is possible? if not, how to wrap an <code>imageSwitch</code> inside something like this ?, here's the actual panel that i want to create one similar to it:</p>
  
  <p>Note: i tried <code>&lt;p:dialog id="basicDialog" header="Basic Dialog"/&gt;</code> but i think that its different from the one in the image</p>
  
  <p><img src="https://i.stack.imgur.com/iKEws.png" alt="enter image description here"></p>