[問題] 想請教一下applet拖放

看板java作者 (擱淺暗黑)時間17年前 (2008/11/23 20:01), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/2 (看更多)
小弟最近在研究java applet拖放...(只寫過c/c++ vb.net prolog) 功能是:允許將applet從ie拉出applet丟到桌面上,並能繼續運行 ========================= 問題 1 =============================== 由於沒接觸過...假想web在原始碼插入applet如下 1.不能拖拉的: <br/> <applet code="clock.class" name="clock" width="200" height="200" > <param name="timezone" value="0"/> <param name="bcolor" value="#c0c0ff"/> <param name="shadowoffset" value="12"/> </applet> </td> 2.能拖拉的: 以.jar取代clock.class <br/> <APPLET archive="my_applet.jar" code="MyApplet" width="300" height="300"> <PARAM name="draggable" value="true"> </APPLET> </td> 真的是這樣嗎?? 找了兩天google還是很霧煞煞 =========================== 問題 2 ================================ <applet codebase="http://java.sun.com/developer/technicalArticles/javase/6u10_applets/" (這行不懂@.@") code="Clock.class" width=170 height=150 alt="Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason. Your browser is completely ignoring the &lt;APPLET&gt; tag!"> (上面那行"alt=........."就完全不懂了= =w) <param name="draggable" value="true"/> </applet> ========================== 問題 3 =============================== 在sun逛了一天...可能是英文能力太差 找不到http://java.sun.com/developer/technicalArticles/javase/6u10_applets/ 這個網址上的第一個小時鐘的source code... 請問哪邊有這個範例...它說在SDK範例裡= =找不到 困擾好久,請各位大師解惑...謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.85.219

11/24 15:54, , 1F
已解決...thx
11/24 15:54, 1F

11/24 16:44, , 2F
怎麼解決的?
11/24 16:44, 2F
文章代碼(AID): #19AKOge6 (java)
文章代碼(AID): #19AKOge6 (java)