String text = jdc.getText();
StringSelection stringSelection = new StringSelection(text);
Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
clipboard.setContents(stringSelection, null);
}
jdc.dispose();
}
}
/* **********************************************************************
*