In Vaadin what are the advantages of using a Panel over a VerticalContainer?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Panel contains a VerticalLayout by default, but you can change that to any other layout you wish.
So you can’t really speak of advantages per se, just additional features on top of the VerticalLayout.
The Panel component provides scrolling and possible visual decorations around the content it encapsulates. That’s pretty much it.