home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 July & August
/
Pcwk78a98.iso
/
Micrsoft
/
VJ
/
VJ98
/
PROJITEM
/
FORM
/
FORM.JAV
< prev
next >
Wrap
Text File
|
1998-02-11
|
1KB
|
55 lines
// %FILENAME%.java
import wfc.app.*;
import wfc.core.*;
import wfc.ui.*;
/**
* This class can take a variable number of parameters on the command
* line. Program execution begins with the main() method. The class
* constructor is not invoked unless an object of type '%FILENAME%'
* created in the main() method.
*/
public class %FILENAME% extends Form
{
public %FILENAME%()
{
// Required for Visual J++ Form Designer support
initForm();
// TODO: Add any constructor code after initForm call
}
/**
* The main entry point for the application.
*
* @param args Array of parameters passed to the application
* via the command line.
*/
public static void main(String args[])
{
Application.run(new %FILENAME%());
}
/**
* NOTE: The following code is required by the Visual J++ form
* designer. It can be modified using the form editor. Do not
* modify it using the code editor.
*/
Container components = new Container();
private void initForm()
{
this.setSize (new Point(300,300));
this.setText ("%FILENAME%");
}
// NOTE: End of form designer support code
public static class ClassInfo extends Form.ClassInfo
{
// TODO: Add your property and event infos here
}
}