Applet 에서 DIV 태그 내용을 읽고 쓰는 예제 LiveConnect를 이용하여 애플릿에서 직접 HTML 태그의 내용을 읽고 변경하는 예제 import java.applet.Applet; import java.awt.*; import netscape.javascript.*; public class MyApplet extends Applet { private JSObject window = null; //stores the window private JSObject document = null; //stores the document public void init() { this.setBackground(Color.ORANGE); /* Get the JS window */ window = JSObject.getWindow( this ); /* Get t.. 더보기 이전 1 ··· 2078 2079 2080 2081 2082 2083 2084 ··· 2196 다음