Tree Widget Item click listeners

Hi ,

Iam new to Vaadin .As iam working for Tree widget .where i wants to click the Tree widget items which requires to show the icon and description at the other window in the same page for particular item. let say example as (flipkart.com).

Please anyone let me know if any one have a sample program or any other code snippets which helps me alot.

Thanks in advance.
Kiran kumar


public void itemClick(ItemClickEvent event) {
      		if (event.getSource() == t) {
                Object itemId = event.getItemId();
                if (event.getButton() == ItemClickEvent.BUTTON_MIDDLE
                        || event.isCtrlKey() || event.isShiftKey()) {
               	Item clicked = event.getItem();
                 getWindow().paintContent(BuildLayoutWindow  );
		    event.getComponent().getWindow().setIcon(new Embedded(null, new ThemeResource(
		        "../icons/logo.png")));

As above code after clicking tree widget item its getting inside the tree widget not under the other window in same page.