How to write MessageBox in vaadin 7 ?

Hi All
Iam basic idea about vaadin.please let me know how to write messagebox in vaadin7.

You may get the solution here!/thread/2644829

Hi!/thread/2644829 This code is not working in will shows errors. but vaadin 6 is working properly.please send me the vaadin7 MessageBox code.