home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 October
/
Chip_1997-10_cd.bin
/
tema
/
sybase
/
powerj
/
samples.z
/
JDBCTransaction.wxc
< prev
next >
Wrap
Text File
|
1997-01-28
|
2KB
|
116 lines
Save Format v2.0(1)
@begin ClassFile "JDBCTransaction"
Exported 1;
Abstract 0;
Interface 0;
PackageName "";
Language "Java";
@begin UserFunction "JDBCTransaction()"
Compiler 1;
GencodeFunction 1;
GencodeSrcLine 10;
FunctionName "JDBCTransaction::JDBCTransaction()";
@end;
@begin UserFunction "init()"
Compiler 1;
GencodeSrcLine 14;
FunctionName "JDBCTransaction::init()";
@end;
@begin UserFunction "createAppletForm()"
Compiler 1;
GencodeFunction 1;
GencodeSrcLine 19;
FunctionName "JDBCTransaction::createAppletForm()";
@end;
@begin UserFunction "main(String args[])"
Compiler 1;
GencodeFunction 1;
GencodeSrcLine 24;
FunctionName "JDBCTransaction::main(String args[])";
@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 41;
@end;
@begin-code BaseClassList
extends powersoft.jcm.ui.AWTAppletEx
@end-code;
@begin-code GeneratedClassContents
@end-code;
@begin-code Code "JDBCTransaction::JDBCTransaction()"
public @CLASSNAME@()
{
super();
}
@end-code;
@begin-code Code "JDBCTransaction::init()"
public void init()
{
super.init();
createAppletForm();
}
@end-code;
@begin-code Code "JDBCTransaction::createAppletForm()"
public void createAppletForm()
{
Form1 form = new Form1(this);
form.create();
}
@end-code;
@begin-code Code "JDBCTransaction::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.setResizable(false);
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;
@end;