SoftwareFoundationGroupAtKyotoU / automata

Other
3 stars 10 forks source link

Java Applet #125

Closed h-inoue closed 9 years ago

h-inoue commented 9 years ago

現在、考えうるIssueを雑多に書いていく段階。

<html>
<head>
<title>
TouchyWindow
</title>
</head>
<body>
<h1>TouchyWindow</h1>
<table border="3">
<tr><td><applet
  code="TouchyWindow.class"
  archive="TouchyWindow.jar"
  width="150"
  height="100"
>
Note: This demo requires a Java enabled browser.  If you see this message then your browser either doesn't support Java or has had Java disabled.
</applet></td>
</table>
<p>Click below to download the source files for TouchyWindow.</p>
</body>
</html>
h-inoue commented 9 years ago

提出してもらうコードと表示方法について

<applet
  code="UserDefinedClass.class"
  archive="${lib}/objectdrawV1.1.2.jar"
  width="150"
  height="100"
>
</applet>

-- .jarでアップロードする場合、こんな感じか。.jarのファイル名と実行可能 クラス名を揃えてもらう。そのための簡易チェックを用意するのはあり。

<applet
  code="UserDefinedClass.class"
  archive="UserDefinedClass.jar,${lib}/objectdrawV1.1.2.jar"
  width="150"
  height="100"
>
</applet>
h-inoue commented 9 years ago

教科書のサポートページを載せておきます。 http://eventfuljava.cs.williams.edu/index.html AppletのサンプルコードやobjectdrawV1.1.2.jar は、ここより取ってこれます。

h-inoue commented 9 years ago

現時点での変更箇所のポイント

chiro commented 9 years ago

:+1: