refresher taking up space

All I saw someone posted a way to get events pulled from the server using


public class NanoRefresher extends ProgressIndicator {
		public NanoRefresher(int interval) {
			this.setPollingInterval(interval);
			this.setWidth("0px");
			this.setHeight("0px");
		}
	}

The issue is, if I have a VertiticalPanel with a table in it, and then I add this refresher to panel
verticalLayout.addComponent(new NanoRefresher(500));

It is trying to show the refresher on the panel. So I have a table and then a blank space with the refrehser. how do I hide and still have it run?

If I understood everything right - u are trying to use the deprecated approach to perform polling. Maybe
refresher
can solve your problem.