I try to get data from the clipboard and try to use follow code:
public static String getValueFromClipboard() { Clipboard c = Toolkit.getDefaultToolkit(