home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1998 September / dppcpro0998.iso / Rwc / Sybase / Install.exe / samples.z / _JSocket_frame.wxc < prev    next >
Encoding:
Text File  |  1998-03-25  |  1.8 KB  |  86 lines

  1. Save Format v2.3(19971110)
  2. @begin ClassFile "_JSocket_frame"
  3.  
  4.  @begin Object "Powersoft Java AWT 1.10::powersoft.painter.Class"
  5.   DesignName _JSocket_frame;
  6.   @begin ClassProperties
  7.    Exported 1;
  8. @begin-code BaseClassList
  9.  
  10. extends java.awt.Frame
  11.  
  12. @end-code;
  13.   @end;
  14.   @begin UserFunctions
  15.    @begin UserFunction "_JSocket_frame()"
  16.     @begin Definition
  17.      GeneratedFunction 1;
  18. @begin-code SourceCode "_JSocket_frame()"
  19.  
  20.     public _JSocket_frame()
  21.     {
  22.         super();
  23.     }
  24.  
  25. @end-code;
  26.     @end;
  27.    @end;
  28.    @begin UserFunction "processEvent(java.awt.AWTEvent event)"
  29.     @begin Definition
  30.      FunctionScope 3;
  31.      GeneratedFunction 1;
  32. @begin-code SourceCode "processEvent(java.awt.AWTEvent event)"
  33.  
  34.     public void processEvent(java.awt.AWTEvent event)
  35.     {
  36.         Object pEvtSource = event.getSource();
  37.         if( pEvtSource == this && event.getID() == java.awt.Event.WINDOW_DESTROY ) {
  38.             setVisible(false);
  39.             dispose();
  40.             System.exit( 0 );
  41.         } else {
  42.             super.processEvent( event );
  43.         }
  44.     }
  45.  
  46. @end-code;
  47.     @end;
  48.    @end;
  49.   @end;
  50.   @begin CodeBlocks
  51.    @begin CodeBlock "HppPrefix"
  52.     FunctionScope 1;
  53. @begin-code SourceCode "Imports()"
  54.  
  55. // add your custom import statements here
  56.  
  57. @end-code;
  58.    @end;
  59.    @begin CodeBlock "ClassContents"
  60.     FunctionScope 1;
  61. @begin-code SourceCode "Data Members()"
  62.  
  63.     // add your data members here
  64.  
  65. @end-code;
  66.    @end;
  67.    @begin CodeBlock "GeneratedClassContents"
  68.     FunctionScope 1;
  69.     GeneratedFunction 1;
  70. @begin-code SourceCode "Not Applicable for Java()"
  71.  
  72.  
  73. @end-code;
  74.    @end;
  75.    @begin CodeBlock "CppPrefix"
  76.     FunctionScope 1;
  77.     GeneratedFunction 1;
  78. @begin-code SourceCode "Not Applicable for Java()"
  79.  
  80.  
  81. @end-code;
  82.    @end;
  83.   @end;
  84.  @end;
  85. @end;
  86.