Clipboard usage in NiftyGui Text

Hello,

I use a nifty text field, which is created like this:
[java]
TextCreator textCreator = new TextCreator("");
textCreator.setWidth(“100%”);
textCreator.setHeight(“100%”);
textCreator.setFocusable(“true”);
textCreator.setStyle(“base-font”);
textCreator.setStyle(“mystyle”);
textCreator.setTextHAlign(“left”);
textCreator.setVAlign(“bottom”);
textCreator.setWrap(true);
textField = textCreator.create(nifty, screen, topPanel);
[/java]

How can I achieve that the text can be copied with the mouse, automatically put into the clipboard and pasted elsewhere?

Thank you very much,

Michael