home *** CD-ROM | disk | FTP | other *** search
Java Source | 1999-04-09 | 1.5 KB | 61 lines |
- //--------------------------------------------------------------------
- //
- // Module: <JDPModule>
- // Description: <Description>
- //
- //--------------------------------------------------------------------
-
- import java.awt.*;
- import java.awt.event.*;
- import java.applet.*;
- import java.util.*;
- import java.io.*;
- import java.net.*;
-
-
- public class <JDPModule> extends JDPClassLayout <Listeners> {
-
- JDPUser user;
- JDPJagg jaggSQL;
- JDPPopupMessage popuppanel;
- JDPMaskEdit JDPMaskEditMain;
- String moduleParameter;
- //
- // Declare screen components
- //
- <Components>
- public void InitClass(JDPUser user, Panel targetPanel, String moduleParameter) {
-
- this.user = user;
- this.moduleParameter = moduleParameter;
- this.targetPanel = targetPanel;
- //
- // Set JAGG settings for this class
- //
- jaggSQL = new JDPJagg(user.jaggPath);
-
- setLayout(new BorderLayout());
- popuppanel = new JDPPopupMessage(user,this);
- add(popuppanel);
- JDPMaskEditMain = new JDPMaskEdit();
-
- <InitClassBody>
- <Layout>
- <Properties>
- <ObjectListeners>
- //
- // Add the handle to this panel to the global vector so other panels can
- // access this one
- //
- user.gParm.addElement(this);
- //
- // Initialise Components
- //
- InitComponents();
- }
-
- <Events>
-
- <CodeBody>
- }
-