To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
button.setDescription("<div style='background-image:url(\"../VAADIN/themes/images/sample.png\"/)'>Sample Description</div>");
Here the image sample.png didn't display. Please anybody help me.............
This is not the way of setting an image on the button. Use the setIcon(...) method.
Syam's right about the setIcon method instead.
If you're curious about what you can put into a description, see the getDescription information in the API docs.