builder.setWithArrow((Boolean) arrowCheckbox.getValue()); builder.setWithScaleBar((Boolean) scaleBarCheckbox.getValue()); builder.setRasterDpi((Integer) rasterDpiSlider.getValue()); PrintTemplateInfo template = builder.buildTemplate(); request.setTemplate(template);
builder.setWithArrow((Boolean) arrowCheckbox.getValue()); builder.setWithScaleBar((Boolean) scaleBarCheckbox.getValue()); builder.setRasterDpi((Integer) rasterDpiSlider.getValue()); PrintTemplateInfo template = builder.buildTemplate(); template.getPage().setLocale(LocaleInfo.getCurrentLocale().getLocaleName());