01: package net.sf.jftp;
02:
03: import net.sf.jftp.*;
04:
05: import java.applet.*;
06:
07: import java.security.*;
08:
09: public class JFtpApplet extends Applet {
10: public JFtpApplet() {
11: AccessController.doPrivileged(new PrivilegedAction() {
12: public Object run() {
13: JFtp.main(new String[0]);
14:
15: return new Object();
16: }
17: });
18: }
19:
20: public void init() {
21: }
22: }
|