1 // $Id$
2 
3 import java.awt.*;
4 import java.awt.event.*;
5 
6 public class submitted extends Frame {
7 
submitted()8     public submitted() {
9 
10         super("   ");
11 
12         //{{INIT_CONTROLS
13         setLayout(null);
14         addNotify();
15         setSize(400,200);
16         label1=new Label("Your request has been submitted");
17         label1.setFont(new Font("Dialog",Font.BOLD,14));
18         add(label1);
19         label1.setBounds(65,75,270,25);
20         button1=new Button("Okay");
21         add(button1);
22         button1.setBounds(150,100,70,30);
23         //}}
24 	button1.addActionListener(new ActionListener()
25 	{
26 	public void actionPerformed(ActionEvent e) {
27 	clickedButton1();
28 	}});
29 
30 
31     }
32 
setVisible()33     public synchronized void setVisible() {
34     	setLocation(50, 50);
35 
36     }
37 
38     Label label1;
39     Button button1;
40 
clickedButton1()41     public void clickedButton1() {
42 
43 	     setVisible(false);
44     }
windowClosing(WindowEvent event)45 	public void windowClosing(WindowEvent event){ }
windowClosed(WindowEvent event)46 	public void windowClosed(WindowEvent event) { }
windowDeiconified(WindowEvent event)47 	public void windowDeiconified(WindowEvent event) {}
windowIconified(WindowEvent event)48 	public void windowIconified(WindowEvent event) {}
windowActivated(WindowEvent event)49 	public void windowActivated(WindowEvent event) {}
windowOpened(WindowEvent event)50 	public void windowOpened(WindowEvent event) {}
51 }
52 
53 
54