home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 39 / IOPROG_39.ISO / SOFT / sdkjava40.exe / data1.cab / fg_Samples / Samples / JDirect / mediaplayer / formAVI.java next >
Encoding:
Java Source  |  2000-05-04  |  1.3 KB  |  58 lines

  1. import com.ms.wfc.app.*;
  2. import com.ms.wfc.core.*;
  3. import com.ms.wfc.ui.*;
  4. import com.ms.wfc.html.*;
  5.  
  6. /**
  7.  * This class can take a variable number of parameters on the command
  8.  * line. Program execution begins with the main() method. The class
  9.  * constructor is not invoked unless an object of type 'formAVI'
  10.  * created in the main() method.
  11.  */
  12. public class formAVI extends Form
  13. {
  14.     public formAVI()
  15.     {
  16.         super();
  17.  
  18.         // Required for Visual J++ Form Designer support
  19.         initForm();        
  20.  
  21.         // TODO: Add any constructor code after initForm call
  22.     }
  23.  
  24.     /**
  25.      * formAVI overrides dispose so it can clean up the
  26.      * component list.
  27.      */
  28.     public void dispose()
  29.     {
  30.         super.dispose();
  31.         components.dispose();
  32.     }
  33.  
  34.     /**
  35.      * NOTE: The following code is required by the Visual J++ form
  36.      * designer.  It can be modified using the form editor.  Do not
  37.      * modify it using the code editor.
  38.      */
  39.     Container components = new Container();
  40.  
  41.     private void initForm()
  42.     {
  43.         this.setClientSize (new Point(300,300));
  44.         this.setText ("formAVI");
  45.     }
  46.  
  47.     /**
  48.      * The main entry point for the application. 
  49.      *
  50.      * @param args Array of parameters passed to the application
  51.      * via the command line.
  52.      */
  53.     public static void main(String args[])
  54.     {
  55.         Application.run(new formAVI());
  56.     }
  57. }
  58.