KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > client > beans > InformationDialog


1 package com.quikj.client.beans;
2
3 import java.awt.*;
4
5 public class InformationDialog extends YesNoDialog
6 {
7     public InformationDialog(Frame parent, String JavaDoc title, String JavaDoc text, String JavaDoc button_text,
8     boolean modal)
9     {
10         super(parent, title, text, button_text, null, modal);
11     }
12     
13     public InformationDialog(Frame parent, String JavaDoc title, String JavaDoc text, boolean modal)
14     {
15         this(parent, title, text, " Close ", modal);
16     }
17     
18     public InformationDialog(Frame parent, String JavaDoc title, String JavaDoc text)
19     {
20         this(parent, title, text, " Close ", false);
21     }
22     
23     public InformationDialog(Frame parent, String JavaDoc title, String JavaDoc text, long timeout)
24     {
25         super(parent, title, text, "Close", null, true, timeout);
26     }
27     
28     public InformationDialog(Frame parent, String JavaDoc title, String JavaDoc text, String JavaDoc button_text, long timeout)
29     {
30         super(parent, title, text, button_text, null, true, timeout);
31     }
32 }
33
Popular Tags