1
0
mirror of https://github.com/leaningtech/cheerpj-meta.git synced 2025-03-15 18:14:49 +01:00
Ana Gabriela Reyna a6180f615e swingset html
2024-01-30 14:15:49 +00:00

27 lines
652 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>SwingSet3 (CheerpJ)</title>
<script src="https://cjrtnc.leaningtech.com/3.0rc2/cj3loader.js"></script>
<style>
html, body {
margin: 0;
}
#container {
width: 100vw;
height: 100svh;
}
</style>
</head>
<body>
<div id="container"></div>
<script type="module">
await cheerpjInit();
cheerpjCreateDisplay(-1, -1, document.getElementById("container"));
await cheerpjRunJar("/app/SwingSet3.jar");
</script>
</body>
</html>