style.setProperty(CSS.POSITION, CSS.FIXED);
style.setProperty(CSS.Z_INDEX, Integer.toString(HIDDEN_Z_INDEX));
rootPanel.add(effectPanel);
}
DefaultSize size = new DefaultSize(containerPanel.getOffsetWidth(),
containerPanel.getOffsetHeight());
if (!attached) {
rootPanel.remove(effectPanel);
}