Hi

I want to obtain the selcted text from other applications as the application i am developing is a 'helper' application.

From the java documentation Toolkit.getSystemSelection would apprear to be the best way to do this.
This is the ony method I have found.

When I use this it always returns null.

For example:

Toolkit tk = getToolkit();
Clipboard selClip = tk.getSystemSelection();

selClip is always NULL.

I have tried this on Windows 7 and Windows XP with the same results.

Any help with getSystemSelection or pointers to another method wouldbe great.

Thanks... Paul