How to make Panel or Frame UI like swing for compress ui?

vaadin