resize(((SizeEvent) event).getWidth(),
((SizeEvent) event).getHeight());
}
});
Linkbutton fullscreen = new Linkbutton(null, Images.ViewFullscreen);
fullscreen.setHref(url);
fullscreen.setTarget("_blank");
Caption caption = new Caption();
caption.appendChild(fullscreen);
caption.appendChild(newResizeButton("800x600", "800px", "600px"));
caption.appendChild(newResizeButton("1024x768", "1024px", "768px"));