Important Notice - Forums is archived
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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
ConfirmDialog caption
Is it possible to change the look and feel of the actual caption in the ConfirmDialog? I have successfully changed the buttons and the content...
...
Button ok = cd.getOkButton();
Button cancel = cd.getCancelButton();
ok.addStyleName(ValoTheme.BUTTON_PRIMARY);
footer.addComponents(cancel, ok);
VerticalLayout content = new VerticalLayout();
content.setSizeFull();
content.setMargin(true);
Label _message = new Label(cd.getMessage());
_message.setStyleName(ValoTheme.LAYOUT_CARD);
content.addComponent(_message);
content.addComponent(footer);
content.setComponentAlignment(footer, Alignment.BOTTOM_RIGHT);
cd.setContent(content);
Anyone know if this is possible? I simply want to be able to change the caption/header of the dialog.