public static CROM selectNode(JFrame owner, Transformation tx, SourceTarget st, String initialSelection) {
ChunkNodeSelector selector = new ChunkNodeSelector(initialSelection);
KongaDialog dlg = createDialog(owner, selector, tx, st);
dlg.setVisible(true);
return dlg.wasOkPressed() ? selector.getSelectedNode() : null;
}
private static KongaDialog createDialog(JFrame owner,
final ChunkNodeSelector selector,
final Transformation tx,