Control1public class Control1 extends UserControl This class is a visual component. The entry point for class execution
is the constructor.
This class can be used as an ActiveX control. Check the checkbox for this class
on the Project Properties COM Classes tab, or remove the // from the next line:
// * @com.register ( clsid=%GUID1%, typelib=%GUID2% ) |
Fields Summary |
---|
Container | componentsNOTE: 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. |
Constructors Summary |
---|
public Control1()
// Required for Visual J++ Form Designer support
initForm();
// TODO: Add any constructor code after initForm call
|
Methods Summary |
---|
private void | initForm()
this.setSize(new Point(300, 300));
this.setText("Control1");
|
|