I put the following line of code into my program - after a failed login attempt:
Notification.show("Invalid User Name and/or Password - please try again", Notification.TYPE_ERROR_MESSAGE);
This works correctly, as it did in Vaadin 6. However, Eclipse puts a strike-through on the TYPE_ERROR_MESSAGE and indicates that it is deprecated.
What is the correct replacement for showing INFO, WARNING and ERROR messages in Vaadin 7? The documentation still seems to indicate that TYPE_WARNING,
TYPE_ERROR_MESSAGE etc. are correct.