package clipHtml;
import sun.awt.windows.*;

public class Test{
public static void main(String[] args) throws Exception{
	PEBClip clip = new PEBClip();
	// here you see, that some knowledge about the native 
	// format is needed: null char at the end!
	clip.setData( WDataTransferer.CF_TEXT, "Hi, i am plain text from java\r\n!\000".getBytes());

	clip.setData( WDataTransferer.CF_HTML,
		PEBHtmlSupport.convertToHTMLFormat("<H1>Headline i am big</H1>\n" +"Here some text.")
		);
	}
}
