throws Exception {
BXMLSerializer bxmlSerializer = new BXMLSerializer();
bxmlSerializer.getNamespace().put(APPLICATION_KEY, this);
window = (Window)bxmlSerializer.readObject(XMLViewer.class, "xml_viewer.bxml");
bxmlSerializer.bind(this);
Label prompt = new Label("Drag or paste XML here");
prompt.getStyles().put("horizontalAlignment", HorizontalAlignment.CENTER);
prompt.getStyles().put("verticalAlignment", VerticalAlignment.CENTER);
promptDecorator.setOverlay(prompt);