dialogBuilder.setTitle("Pegdown Rendering Options");
dialogBuilder.addOkAction();
dialogBuilder.addCancelAction();
RenderingOptionsForm form = new RenderingOptionsForm(options.renderingOptions);
dialogBuilder.setCenterPanel(form.getComponent());
int exitCode = dialogBuilder.show();
if ( exitCode == DialogWrapper.OK_EXIT_CODE ) {
options.renderingOptions = form.get();
}
}
public PegdownOptions getOptions() {