NbBundle.getMessage(PartitionColorTransformerPanel.class, "PartitionColorTransformerPanel.generatePalettePanel.title"),
NotifyDescriptor.OK_CANCEL_OPTION,
NotifyDescriptor.DEFAULT_OPTION, null, null);
if (DialogDisplayer.getDefault().notify(nd) == NotifyDescriptor.OK_OPTION) {
Palette pl = pgn.getSelectedPalette();
if (pl != null) {
applyPalette(pl);
}
}
}