0 votes
in Vaadin Unplugged by

Which of the following is a valid code snippet to set a tooltip for a button?

a) Button button = new Button(“A Button”); button.setLabel(“This is the tooltip”);

b) Button button = new Button(“A Button”); button.seToolTip(“This is the tooltip”);

c) Button button = new Button(“Button”); button.setDescription(“This is the tooltip”);

d) None of the options

1 Answer

0 votes
by
Button button = new Button(“Button”); button.setDescription(“This is the tooltip”);
...