home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 October / Chip_1997-10_cd.bin / tema / sybase / powerj / samples.z / Forms_Modeless.wxc < prev    next >
Text File  |  1997-01-28  |  2KB  |  133 lines

  1. Save Format v2.0(1)
  2. @begin ClassFile "Forms_Modeless"
  3.  Exported 0;
  4.  Abstract 0;
  5.  Interface 0;
  6.  PackageName "";
  7.  Language "Java";
  8.  
  9.  @begin UserFunction "Forms_Modeless()"
  10.   Compiler 1;
  11.   GencodeSrcLine 10;
  12.   FunctionName "Forms_Modeless::Forms_Modeless()";
  13.  @end;
  14.  
  15.  @begin UserFunction "main(String args[])"
  16.   Compiler 1;
  17.   GencodeFunction 1;
  18.   GencodeSrcLine 14;
  19.   FunctionName "Forms_Modeless::main(String args[])";
  20.  @end;
  21.  
  22.  @begin UserFunction "CreateMainForm()"
  23.   Compiler 1;
  24.   GencodeFunction 1;
  25.   GencodeSrcLine 21;
  26.   FunctionName "Forms_Modeless::CreateMainForm()";
  27.  @end;
  28.  
  29.  @begin UserFunction "StartApp(String args[])"
  30.   Compiler 1;
  31.   GencodeSrcLine 27;
  32.   FunctionName "Forms_Modeless::StartApp(String args[])";
  33.  @end;
  34.  
  35.  @begin UserFunction "RunApp(String args[])"
  36.   Compiler 1;
  37.   GencodeSrcLine 30;
  38.   FunctionName "Forms_Modeless::RunApp(String args[])";
  39.  @end;
  40.  
  41.  @begin UserFunction "EndApp(String args[])"
  42.   Compiler 1;
  43.   GencodeSrcLine 34;
  44.   FunctionName "Forms_Modeless::EndApp(String args[])";
  45.  @end;
  46.  
  47.  @begin HPPPrefixBlock
  48. @begin-code HPPPrefix
  49.  
  50. // add your custom import statements here
  51.  
  52. @end-code;
  53.   GencodeSrcLine 6;
  54.  @end;
  55.  
  56.  @begin ClassContentsBlock
  57. @begin-code ClassContents
  58.  
  59.     // add your data members here
  60.  
  61. @end-code;
  62.   GencodeSrcLine 37;
  63.  @end;
  64.  
  65. @begin-code BaseClassList
  66.  
  67. extends Object
  68.  
  69. @end-code;
  70.  
  71. @begin-code GeneratedClassContents
  72.  
  73.  
  74. @end-code;
  75.  
  76. @begin-code Code "Forms_Modeless::Forms_Modeless()"
  77.  
  78.     public @CLASSNAME@()
  79.     {
  80.         super();
  81.     }
  82.  
  83. @end-code;
  84.  
  85. @begin-code Code "Forms_Modeless::main(String args[])"
  86.  
  87.     public static void main(String args[])
  88.     {
  89.         @@CLASSNAME@ app = new @CLASSNAME@();
  90.         app.StartApp(args);
  91.         app.RunApp(args);
  92.         app.EndApp(args);
  93.     }
  94.  
  95. @end-code;
  96.  
  97. @begin-code Code "Forms_Modeless::CreateMainForm()"
  98.  
  99.     public void CreateMainForm()
  100.     {
  101.         Form1 form = new Form1();
  102.         form.setMainWindow(true);
  103.         form.create();
  104.     }
  105.  
  106. @end-code;
  107.  
  108. @begin-code Code "Forms_Modeless::StartApp(String args[])"
  109.  
  110.     public void StartApp(String args[])
  111.     {
  112.     }
  113.  
  114. @end-code;
  115.  
  116. @begin-code Code "Forms_Modeless::RunApp(String args[])"
  117.  
  118.     public void RunApp(String args[])
  119.     {
  120.         CreateMainForm();
  121.     }
  122.  
  123. @end-code;
  124.  
  125. @begin-code Code "Forms_Modeless::EndApp(String args[])"
  126.  
  127.     public void EndApp(String args[])
  128.     {
  129.     }
  130.  
  131. @end-code;
  132. @end;
  133.