// Update the image
menuImageView.setImage(image);
}
});
WTKXSerializer wtkxSerializer = new WTKXSerializer();
try {
component = (Component)wtkxSerializer.readObject(this, "menus.wtkx");
} catch(IOException exception) {
throw new RuntimeException(exception);
} catch(SerializationException exception) {
throw new RuntimeException(exception);
}
menuImageView = (ImageView)wtkxSerializer.get("menuImageView");
helpAboutMenuItem = (Menu.Item)wtkxSerializer.get("menuBar.helpAboutMenuItem");
rollup.setContent(component);
wtkxSerializer.reset();
try {
menuSection = (Menu.Section)wtkxSerializer.readObject(this, "menu_section.wtkx");
imageMenuGroup = (ButtonGroup)wtkxSerializer.get("imageMenuGroup");
} catch(IOException exception) {
throw new RuntimeException(exception);
} catch(SerializationException exception) {
throw new RuntimeException(exception);
}