home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
sybase
/
starbuck
/
samples.z
/
FTP.wxc
< prev
next >
Wrap
Text File
|
1996-12-10
|
3KB
|
132 lines
Save Format v1.3
@begin ClassFile "FTP"
Exported 1;
Abstract 0;
Interface 0;
PackageName "";
Language "Java";
@begin UserFunction "FTP()"
Compiler 1;
GencodeFunction 1;
GencodeSrcLine 10;
FunctionName "FTP::FTP()";
@end;
@begin UserFunction "init()"
Compiler 1;
GencodeSrcLine 14;
FunctionName "FTP::init()";
@end;
@begin UserFunction "CreateAppletForm()"
Compiler 1;
GencodeFunction 1;
GencodeSrcLine 19;
FunctionName "FTP::CreateAppletForm()";
@end;
@begin UserFunction "main(String args[])"
Compiler 1;
GencodeFunction 1;
GencodeSrcLine 24;
FunctionName "FTP::main(String args[])";
@end;
@begin UserFunction "createAppletForm()"
Compiler 1;
GencodeFunction 1;
GencodeSrcLine 40;
FunctionName "FTP::createAppletForm()";
@end;
@begin HPPPrefixBlock
@begin-code HPPPrefix
// add your custom import statements here
@end-code;
GencodeSrcLine 6;
@end;
@begin ClassContentsBlock
@begin-code ClassContents
// add your data members here
@end-code;
GencodeSrcLine 45;
@end;
@begin-code BaseClassList
extends powersoft.jcm.ui.AWTAppletEx
@end-code;
@begin-code GeneratedClassContents
@end-code;
@begin-code Code "FTP::FTP()"
public @CLASSNAME@()
{
super();
}
@end-code;
@begin-code Code "FTP::init()"
public void init()
{
super.init();
CreateAppletForm();
}
@end-code;
@begin-code Code "FTP::CreateAppletForm()"
public void CreateAppletForm()
{
Form1 form = new Form1(this);
form.create();
}
@end-code;
@begin-code Code "FTP::main(String args[])"
public static void main(String args[])
{
@@CLASSNAME@ applet = new @CLASSNAME@();
powersoft.jcm.ui.Form f = new powersoft.jcm.ui.Form();
f.create();
f.setMainWindow(true);
f.addComponent(applet);
applet.init();
java.awt.Insets insets = f.getInsets();
java.awt.Dimension size = applet.size();
applet.move( insets.left, insets.top );
f.setWidth( size.width + insets.left + insets.right );
f.setHeight( size.height + insets.top + insets.bottom );
f.resize(applet.preferredSize());
f.setVisible(true);
}
@end-code;
@begin-code Code "FTP::createAppletForm()"
public void createAppletForm()
{
Form1 form = new Form1(this);
form.create();
}
@end-code;
@end;