Statistics
| Revision:

root / trunk / applications / appCatalogYNomenclatorClient / src / es / gva / cit / catalogClient / ui / ServerConnectDialog.java @ 3101

History | View | Annotate | Download (3.63 KB)

1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 *
19
 * For more information, contact:
20
 *
21
 *  Generalitat Valenciana
22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
24
 *   46010 VALENCIA
25
 *   SPAIN
26
 *
27
 *      +34 963862235
28
 *   gvsig@gva.es
29
 *      www.gvsig.gva.es
30
 *
31
 *    or
32
 *
33
 *   IVER T.I. S.A
34
 *   Salamanca 50
35
 *   46005 Valencia
36
 *   Spain
37
 *
38
 *   +34 963163400
39
 *   dac@iver.es
40
 */
41
package es.gva.cit.catalogClient.ui;
42

    
43
import es.gva.cit.catalogClient.utils.Frames;
44

    
45
import java.awt.Dimension;
46
import java.awt.event.WindowEvent;
47
import java.awt.event.WindowListener;
48

    
49
import javax.swing.JFrame;
50

    
51

    
52
/**
53
 * DOCUMENT ME!
54
 *
55
 * @author luisw
56
 */
57
public class ServerConnectDialog extends JFrame implements WindowListener {
58
    private ServerConnectDialogPanel contentPane = null;
59

    
60
    /**
61
     * Crea un nuevo ServerConnectDialog.
62
     */
63
    public ServerConnectDialog() {
64
        super();
65

    
66
        //super.setModal(true);
67
        initialize();
68
    }
69

    
70
    /**
71
     * This method initializes jDialog
72
     */
73
    private void initialize() {
74
        Frames.CenterFrame(this);
75

    
76
        this.setSize(new Dimension(625, 290));
77
        this.setTitle("B?squeda en cat?logo de metadatos");
78

    
79
        setResizable(false);
80
        setName("serverConnect");
81
        getContentPane().add(new ServerConnectDialogPanel());
82
        addWindowListener(this);
83
        setVisible(true);
84
    }
85

    
86
    /* (non-Javadoc)
87
     * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
88
     */
89
    public void windowActivated(WindowEvent e) {
90
        // TODO Auto-generated method stub
91
    }
92

    
93
    /**
94
     * DOCUMENT ME!
95
     *
96
     * @param arg0 DOCUMENT ME!
97
     */
98
    public void windowClosing(WindowEvent arg0) {
99
        // TODO Auto-generated method stub
100
        System.exit(0);
101
    }
102

    
103
    /* (non-Javadoc)
104
     * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
105
     */
106
    public void windowClosed(WindowEvent arg0) {
107
        // TODO Auto-generated method stub
108
        System.exit(0);
109
    }
110

    
111
    /* (non-Javadoc)
112
     * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
113
     */
114
    public void windowDeactivated(WindowEvent e) {
115
        // TODO Auto-generated method stub
116
    }
117

    
118
    /* (non-Javadoc)
119
     * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
120
     */
121
    public void windowDeiconified(WindowEvent e) {
122
        // TODO Auto-generated method stub
123
    }
124

    
125
    /* (non-Javadoc)
126
     * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
127
     */
128
    public void windowIconified(WindowEvent e) {
129
        // TODO Auto-generated method stub
130
    }
131

    
132
    /* (non-Javadoc)
133
     * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
134
     */
135
    public void windowOpened(WindowEvent e) {
136
        // TODO Auto-generated method stub
137
    }
138
}