@PanelSample
public class WindowingSystemSample extends Composite implements SamplePanel {
public WindowingSystemSample() {
WindowingSystem ws = new WindowingSystem(createContent("Center", "#FFC0CB", "black"));
WindowSpec printerWindow = new WindowSpec("red", "Red", createContent("Red content", "red", "white"), "25%");
printerWindow.setPosition(WindowingSystem.Position.LEFT);
ws.addWindow(printerWindow);
WindowSpec blueCubeWindow = new WindowSpec("blue", "Blue", createContent("Blue content", "blue", "white"), "50%");
blueCubeWindow.setPosition(WindowingSystem.Position.LEFT);
ws.addWindow(blueCubeWindow);
WindowSpec greenCubeWindow = new WindowSpec("green", "Green", createContent("Green content", "green", "white"), "30%");
greenCubeWindow.setPosition(WindowingSystem.Position.RIGHT);
ws.addWindow(greenCubeWindow);
WindowSpec greenCubeWindow2 = new WindowSpec("orange", "Orange", createContent("Orange content", "orange", "black"), "30%");
greenCubeWindow2.setPosition(WindowingSystem.Position.BOTTOM);
ws.addWindow(greenCubeWindow2);
ws.setStatusBarText("This is a message");
ws.setSize("100%", "100%");
initWidget(ws);
}