Back to index

wims  3.65+svn20090927
Public Member Functions
rene.zirkel.dialogs.MessageWindow Class Reference
Inheritance diagram for rene.zirkel.dialogs.MessageWindow:
Inheritance graph
[legend]
Collaboration diagram for rene.zirkel.dialogs.MessageWindow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MessageWindow (Frame f, String s)

Detailed Description

Definition at line 18 of file MessageWindow.java.


Constructor & Destructor Documentation

rene.zirkel.dialogs.MessageWindow.MessageWindow ( Frame  f,
String  s 
) [inline]

Definition at line 19 of file MessageWindow.java.

{      public MessageWindow (Frame f, String s)
       {      super(f);
              setBackground(Global.ControlBackground);
              MyLabel label=new MyLabel(s);
              label.setFont(new Font("Courier",Font.BOLD,16));
              setLayout(new BorderLayout());
              add("Center",new Panel3D(label));
              pack();
              Dimension d=f.getSize();
              Point p=f.getLocation();
              setLocation(p.x+d.width/2-getSize().width/2,
                     p.y+d.height/2-getSize().height/2);
       }

The documentation for this class was generated from the following file: