title: How to prepare clipboard content in Java so that C# application accepts it with Clipboard.ContainsData("Xml Spreadsheet")
body: <p>I want to prepare clipboard content in Java application and then paste it to C# application. The problem is that C# app seem not to accept data if it was copied to clipboard from any application other than Excel.</p>
  
  <p>C# sources contain following "check" responsible for not accepting plaintext clipboard content:</p>
  
  <pre><code>Clipboard.ContainsData("XML Spreadsheet") 
  </code></pre>
  
  <p>My question is: how should I set clipboard content in Java (by implementing Transferable and/or defining DataFlavor) in such a way that C# application would recognize it as "XML Spreadsheet"?</p>