phantasia4/
phantasia4/conf/
phantasia4/phantasia/bin/
phantasia4/phantasia/src/utilities/
phantasia4/public_html/cgi-bin/
import java.awt.*;
import java.net.*;
import java.io.*;
import java.awt.Event;
import java.awt.*;

public class errorDlog extends Dialog {

    private pClient parent = null;
    Panel top_panel = new Panel();
    Panel bottom_panel = new Panel();
    Label textLabel1 = new Label();
    Label textLabel2 = new Label();
    Label textLabel3 = new Label();
    Button theButton = new Button("OK");

    public errorDlog(pClient c) {

	super(c.f, true);	

	parent = c;

	top_panel.setLayout(new BorderLayout());
	top_panel.add("North", textLabel1);
	top_panel.add("Center", textLabel2);
	top_panel.add("South", textLabel3);

	bottom_panel.add(theButton);

	setLayout(new BorderLayout());
	add("North", top_panel);
	add("South", bottom_panel);
    }

    public void bringUp(String string1, String string2, String string3) {
	textLabel1.setAlignment(Label.CENTER);
	textLabel1.setText(string1);
	textLabel2.setAlignment(Label.CENTER);
	textLabel2.setText(string2);
	textLabel3.setAlignment(Label.CENTER);
	textLabel3.setText(string3);

	pack();
	toFront();
	show();
    }

    public boolean action(Event evt, Object arg) {

	hide();
	return true;
    }
}