Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/incenter/ngbclient/about.java


1   
2   package org.incenter.ngbclient;
3   
4   import org.incenter.ngbclient.*;
5   import org.incenter.awtMap.*;
6   import java.awt.*;
7   
8   public class about extends frmDlg
9   {
10      public about(Frame parent, boolean modal, String topic, String msg) {
11    super(parent, modal, topic, msg);
12    setTitle("About Galactic Overlords Client");
13    remove(lblMsg);
14    Panel pnl = new Panel();
15    pnl.setLayout(new BorderLayout());
16    pnl.add(lblMsg, "North");
17    Label lbl1 = new Label("** Galactic Overlords **");
18    lbl1.setAlignment(Label.CENTER);
19    Label lbl2 = new Label("** Please direct any questions to me - gikjl@incenter.org **");
20    lbl2.setAlignment(Label.CENTER);
21    pnl.add(lbl1, "Center");
22    pnl.add(lbl2, "South");
23    add(pnl, "Center");
24    pack();
25    Point p = parent.getLocation();
26    setLocation(new Point(p.x + 100,p.y + 100));
27    show();
28      }
29  }