jpBrowser.addJitterPackSelectionListener(selectionNotifier);
return jpBrowser;
}
private FileSelectorPanel createDestinationPanel(File suggestedDestinationFolder) {
FolderSelectorPanelBuilder builder = new FolderSelectorPanelBuilder();
builder.setPreferenceKey(new PreferencesKey(ImportJitterPackUi.class, "Destination"));
builder.setTitle(Strings.getJitterPackString("Import.Destination"));
builder.setDefaultFolder(suggestedDestinationFolder);
FileSelectorPanel panel = builder.buildPanel(window);
panel.setBrowseButtonText(Strings.get("Import.Destination.Browse"));
LabelDecorator d = TextStyles.DefaultText.asLabelDecorator(ApplicationResources.ICONS.getIcon("FolderClosed.16"));
panel.decorateTitle(d);
return panel;
}