1 /*********************************************************************************
2 * *
3 * Raptor - Rapid prototyping of Swing GUIs based on JavaBeans like Java objects *
4 * Copyright (C) 2003 XCOM AG *
5 * *
6 * This library is free software; you can redistribute it and/or *
7 * modify it under the terms of the GNU Lesser General Public *
8 * License as published by the Free Software Foundation; either *
9 * version 2.1 of the License, or (at your option) any later version. *
10 * *
11 * This library is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14 * Lesser General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU Lesser General Public *
17 * License along with this library; if not, write to the Free Software *
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
19 * *
20 *********************************************************************************/
21 package net.sf.raptor.ui.dialog;
22
23 import java.awt.Frame;
24
25 /**
26 * @author XCOM AG
27 *
28 * To change the template for this generated type comment go to
29 * Window>Preferences>Java>Code Generation>Code and Comments
30 *
31 * @deprecated use TRex/Raptor instead
32 */
33 public class CloseDialog extends XDialog {
34
35 /**
36 *
37 */
38 public CloseDialog() {
39 super();
40 }
41
42 /**
43 * @param owner
44 */
45 public CloseDialog(Frame owner) {
46 super(owner);
47 }
48
49 /**
50 * doCloseAction
51 */
52 public void doCloseAction() {
53 setVisible(false);
54 }
55
56 }