Prompt.prompt(about, this.window);
}
@Override
public void startup(Display display, Map<String, String> properties) throws Exception {
BXMLSerializer bxmlSerializer = new BXMLSerializer();
this.window = (Window)bxmlSerializer.readObject(KitchenSink.class, "kitchen_sink.bxml");
bxmlSerializer.bind(this, KitchenSink.class);
this.infoRollup = (Rollup)bxmlSerializer.getNamespace().get("infoRollup");
this.infoRollup.getRollupStateListeners().add(new InfoRollupStateHandler());
this.buttonsRollup = (Rollup)bxmlSerializer.getNamespace().get("buttonsRollup");
this.buttonsRollup.getRollupStateListeners().add(new ButtonsRollupStateHandler());
this.listsRollup = (Rollup)bxmlSerializer.getNamespace().get("listsRollup");
this.listsRollup.getRollupStateListeners().add(new ListsRollupStateHandler());
this.textRollup = (Rollup)bxmlSerializer.getNamespace().get("textRollup");
this.textRollup.getRollupStateListeners().add(new TextRollupStateHandler());
this.calendarsRollup = (Rollup)bxmlSerializer.getNamespace().get("calendarsRollup");
this.calendarsRollup.getRollupStateListeners().add(new CalendarsRollupStateHandler());
this.colorChoosersRollup = (Rollup)bxmlSerializer.getNamespace().get("colorChoosersRollup");
this.colorChoosersRollup.getRollupStateListeners().add(new ColorChoosersRollupStateHandler());
this.navigationRollup = (Rollup)bxmlSerializer.getNamespace().get("navigationRollup");
this.navigationRollup.getRollupStateListeners().add(new NavigationRollupStateHandler());
this.splittersRollup = (Rollup)bxmlSerializer.getNamespace().get("splittersRollup");
this.splittersRollup.getRollupStateListeners().add(new SplittersRollupStateHandler());
this.menusRollup = (Rollup)bxmlSerializer.getNamespace().get("menusRollup");
this.menusRollup.getRollupStateListeners().add(new MenusRollupStateHandler());
this.metersRollup = (Rollup)bxmlSerializer.getNamespace().get("metersRollup");
this.metersRollup.getRollupStateListeners().add(new MetersRollupStateHandler());
this.spinnersRollup = (Rollup)bxmlSerializer.getNamespace().get("spinnersRollup");
this.spinnersRollup.getRollupStateListeners().add(new SpinnersRollupStateHandler());
this.tablesRollup = (Rollup)bxmlSerializer.getNamespace().get("tablesRollup");
this.tablesRollup.getRollupStateListeners().add(new TablesRollupStateHandler());
this.treesRollup = (Rollup)bxmlSerializer.getNamespace().get("treesRollup");
this.treesRollup.getRollupStateListeners().add(new TreesRollupStateHandler());
this.dragDropRollup = (Rollup)bxmlSerializer.getNamespace().get("dragDropRollup");
this.dragDropRollup.getRollupStateListeners().add(new DragDropRollupStateHandler());
this.alertsRollup = (Rollup)bxmlSerializer.getNamespace().get("alertsRollup");
this.alertsRollup.getRollupStateListeners().add(new AlertsRollupStateHandler());
this.window.open(display);
// Start with the "Info" rollup expanded