Source

swt-html-richclient / app / main.html

Full commit
<html>
	<head>
		<title>hasCode.com HTML-SWT-RichClient Example</title>
		<script type="text/javascript">
		function passToFrame(){
			var response = jsToSwtCallback(12345, 'there is no spoon');
			alert(response);
			
		}
		</script>
	</head>
	<body>
		<h1>HTML-SWT-RichClient Example</h1>
		<hr/>
		<input type="button" value="Callback to SWT Frame" onclick="javascript:passToFrame()"/>
		<br/>
		<em>2012 Micha Kops / hasCode.com</em>
	</body>
</html>