e-learning T050050 e-learning B NintendoDS e-learning html 1 e-learning Java Applet html 2
2008 e-learning T050050
1 1 1.1.................................. 1 1.2............................ 1 2 2 2.1.............................. 2 2.2.................................. 3 2.2.1....................... 3 2.2.2................................. 3 2.2.3 /.............................. 3 2.2.4............................ 4 2.2.5.............................. 4 2.2.6 Cloze........................ 4 2.2.7.............................. 5 2.2.8.......................... 6 2.2.9............................ 6 2.3 html.......................... 7 2.3.1............................. 7 2.3.2............................. 8 2.3.3............................... 8 2.4 e-learning....................... 9 2.4.1 e-learning...................... 9 2.4.2............................... 9 3 11 3.1............................ 11 3.2 Java............................... 11 3.3.................................. 16 4 18 5 19
1 1.1 1 1.2 e-learning NintendoDS 1
2 2.1 1 1 1 Yes 1 Yes No Yes No 2
2.2 [1] [3] 2.2.1 html 0 html 2.2.2 / 2.2.3 / 2 3
2.2.4 2 Yes html 2.2.5 2.2.6 Cloze 1 4
1: Cloze {1:MULTICHOICE: = {1:SHORTANSWER: = 2.2.7 1. {name 1 100% 5
0 2. 3. 0 2.2.8 html 2.2.9 6
2.3 html x 2 a n N html [7] n=1 2.3.1 <table> <tr> <td>a</td> <td>b</td> </tr> </table> <table> <\tabale> <tr> 1 <\tr> 1 <td> 1 <\td> 1 2 A B 7
2: 2.3.2 <td align="center"></td> center left right <td valign="middle"></td> middle top bottom 2.3.3 = N n=1 <td colspan="x"></td> x <td rowspan="x"></td> 8
2.4 e-learning 2.4.1 e-learning e-learning 1. 1 2. 2.4.2 e-learning 1. 4 2. 3 3 4 1 9
n 3. 2 3 4 1 n 2 4. N n=1 4 1 2 2 4 10
5. 4 3 3.1 e-learning e-learning e-learning Java Applet [2] [4] [5] [6] 3.2 Java 11
Button = new Button(" "); ActionListener GridLayout(1, 3) 1 3 BorderLayout.SOUTH MouseMotionListener 3 3: 12
MouseListener MouseListener 2 Java Applet import java.applet.*; import java.awt.event.*; import java.awt.*; public class Note extends Applet implements MouseListener, MouseMotionListener, ActionListener{ Image imgbuf; Graphics gbuf; //java int x, y; // int ox, oy; // int w, h; // int type; // Button btn1 = new Button(" "); Button btn2 = new Button(" "); Button btn3 = new Button(" "); // public void init(){ // ( ) this.setlayout(new BorderLayout()); // 13
Panel pnl = new Panel(new GridLayout(1, 3)); // pnl.add(btn1); pnl.add(btn2); pnl.add(btn3); // this.add(pnl, BorderLayout.SOUTH); // Dimension size = getsize(); w = size.width; h = size.height; // imgbuf = createimage(w, h); gbuf = imgbuf.getgraphics(); //java type = 1; // addmouselistener(this); addmousemotionlistener(this); btn1.addactionlistener(this); btn2.addactionlistener(this); btn3.addactionlistener(this); public void paint(graphics g){ g.drawimage(imgbuf, 0, 0, this); //java public void update(graphics g){ paint(g); public void mouseentered(mouseevent e){ public void mouseexited(mouseevent e){ public void mousepressed(mouseevent e){ ox = e.getx(); // // // 14
oy = e.gety(); // public void mouseclicked(mouseevent e){ // x = e.getx(); y = e.gety(); // if(type == 1){ // gbuf.setcolor(color.black); gbuf.drawoval(x, y, 1, 1); //java else if(type == 2){ // gbuf.setcolor(color.white); gbuf.filloval(x-5, y-5, 10, 10); //java repaint(); public void mousereleased(mouseevent e){ // public void mousedragged(mouseevent e){ // x = e.getx(); y = e.gety(); // if(type == 1){ // gbuf.setcolor(color.black); gbuf.drawline(ox, oy, x, y); //java ox = x; oy = y; // else if(type == 2){ // gbuf.setcolor(color.white); gbuf.filloval(x-5, y-5, 10, 10); //java repaint(); 15
public void mousemoved(mouseevent e){ // public void actionperformed(actionevent e){ // if(btn1 == e.getsource()){ // type = 1; // else if(btn2 == e.getsource()){ // type = 2; // else if(btn3 == e.getsource()){ // type = 1; // gbuf.clearrect(0, 0, w, h); //java repaint(); 3.3 Java Applet html <applet code="name.class" width="width" height="height"></applet> Applet name.class Java class width height Applet e-learning html class codebase= class 2 e-learning 16
html 4 <center> // <p> // <table border="1"> // <tr> <td> <applet height="500" width="500" code="note.class" codebase=" Note.class "></applet> </td> <td> <applet height="500" width="500" code="note.class" codebase=" Note.class "></applet> </td> </tr> </table> </p> // // // <font color="#800000"><big> </big> <font color="#000000"> <table> <tr> <td> </td> <th> </th> <td> </td> </tr> <tr> <td> </td> <th> </th> <td> </td> </tr> <tr> <td> </td> <th> </th> <td> </td> </tr> </table> </center> 17
4: 4 e-learning Java 18
5 [1] B 2003 [2] Java 2003 [3] 2007 [4] Java JavaDrive http://www.javadrive.jp/index.html [5] Java http://www.tohoho-web.com/java/index.htm [6] http://www5c.biglobe.ne.jp/ ecb/index.html [7] http://www.ink.or.jp/ bigblock/index.html 19