new ImageFactory(new AwtTemplateImageLoaderInstaller().createLoader());
new AwtToolkit();
XViewer viewer = (XViewer) Toolkit.getViewer();
ViewerFrame frame = new ViewerFrame();
frame.setViewer(viewer);
viewer.setRenderingArea(frame);
viewer.setUpdateNotifier(new ViewUpdateNotifier());
Toolkit.debug = false;
Workspace workspace = workspace();
viewer.setRootView(workspace);
viewer.init();
views(workspace);
viewer.showSpy();
InfoDebugFrame debug = new InfoDebugFrame();
debug.setInfo(new DebugView(workspace));
debug.setSize(800, 600);
debug.setLocation(400, 300);
debug.show();
frame.setBounds(200, 100, 800, 600);
frame.init();
frame.show();
viewer.sizeChange();
debug.showDebugForPane();
}