home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / JDesignerPro / Jdp3_0.exe / data1.cab / Program_Files / Applications / Layouts / JDPLayout10.java < prev    next >
Encoding:
Java Source  |  1999-04-09  |  1.5 KB  |  61 lines

  1. //--------------------------------------------------------------------
  2. //                                                                    
  3. //  Module:       <JDPModule>                                       
  4. //  Description:  <Description>
  5. //                                                                    
  6. //--------------------------------------------------------------------
  7.  
  8. import java.awt.*;
  9. import java.awt.event.*;
  10. import java.applet.*;
  11. import java.util.*;
  12. import java.io.*;
  13. import java.net.*;
  14.  
  15.  
  16. public class <JDPModule> extends JDPClassLayout <Listeners> {
  17.  
  18.     JDPUser user;
  19.     JDPJagg jaggSQL;
  20.     JDPPopupMessage popuppanel;
  21.     JDPMaskEdit JDPMaskEditMain;
  22.     String moduleParameter;
  23.     //
  24.     //  Declare screen components
  25.     //
  26. <Components>
  27.     public void InitClass(JDPUser user, Panel targetPanel, String moduleParameter) {
  28.  
  29.         this.user = user;
  30.         this.moduleParameter = moduleParameter;
  31.         this.targetPanel = targetPanel;
  32.         //
  33.         //  Set JAGG settings for this class
  34.         //
  35.         jaggSQL = new JDPJagg(user.jaggPath);
  36.  
  37.         setLayout(new BorderLayout());
  38.         popuppanel = new JDPPopupMessage(user,this);
  39.         add(popuppanel);
  40.         JDPMaskEditMain = new JDPMaskEdit();
  41.  
  42. <InitClassBody>
  43. <Layout>
  44. <Properties>
  45. <ObjectListeners>
  46.         //
  47.         //  Add the handle to this panel to the global vector so other panels can
  48.         //  access this one
  49.         //
  50.         user.gParm.addElement(this);
  51.         //
  52.         //  Initialise Components
  53.         //
  54.         InitComponents();
  55.     }
  56.  
  57. <Events>
  58.  
  59. <CodeBody>
  60. }
  61.