Revision 8246
trunk/libraries/libUI/src-test/org/gvsig/gui/beans/filterPanel/filterQueryPanel/Test3FilterQueryJPanel.java | ||
---|---|---|
1 |
package org.gvsig.gui.beans.filterPanel.filterQueryPanel; |
|
2 |
|
|
3 |
import java.awt.Dimension; |
|
4 |
|
|
5 |
import javax.swing.JFrame; |
|
6 |
|
|
7 |
import com.iver.andami.PluginServices; |
|
8 |
|
|
9 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
10 |
* |
|
11 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
12 |
* |
|
13 |
* This program is free software; you can redistribute it and/or |
|
14 |
* modify it under the terms of the GNU General Public License |
|
15 |
* as published by the Free Software Foundation; either version 2 |
|
16 |
* of the License, or (at your option) any later version. |
|
17 |
* |
|
18 |
* This program is distributed in the hope that it will be useful, |
|
19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
21 |
* GNU General Public License for more details. |
|
22 |
* |
|
23 |
* You should have received a copy of the GNU General Public License |
|
24 |
* along with this program; if not, write to the Free Software |
|
25 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
26 |
* |
|
27 |
* For more information, contact: |
|
28 |
* |
|
29 |
* Generalitat Valenciana |
|
30 |
* Conselleria d'Infraestructures i Transport |
|
31 |
* Av. Blasco Ib??ez, 50 |
|
32 |
* 46010 VALENCIA |
|
33 |
* SPAIN |
|
34 |
* |
|
35 |
* +34 963862235 |
|
36 |
* gvsig@gva.es |
|
37 |
* www.gvsig.gva.es |
|
38 |
* |
|
39 |
* or |
|
40 |
* |
|
41 |
* IVER T.I. S.A |
|
42 |
* Salamanca 50 |
|
43 |
* 46005 Valencia |
|
44 |
* Spain |
|
45 |
* |
|
46 |
* +34 963163400 |
|
47 |
* dac@iver.es |
|
48 |
*/ |
|
49 |
|
|
50 |
/** |
|
51 |
* Tests FilterQueryJPanel |
|
52 |
* |
|
53 |
* @author Pablo Piqueras Bartolom? (p_queras@hotmail.com) |
|
54 |
*/ |
|
55 |
public class Test3FilterQueryJPanel { |
|
56 |
public static void main(String[] args) { |
|
57 |
FilterQueryJPanel filterQueryJPanel = new FilterQueryJPanel(); |
|
58 |
filterQueryJPanel.resize(460, 450); |
|
59 |
|
|
60 |
JFrame frame = new JFrame(); |
|
61 |
|
|
62 |
frame.getContentPane().add(filterQueryJPanel); |
|
63 |
frame.setTitle(PluginServices.getText(null, "test_TableFilterQueryJPanel_title")); |
|
64 |
frame.setSize(new Dimension(480, 427)); |
|
65 |
frame.pack(); |
|
66 |
frame.setVisible(true); |
|
67 |
} |
|
68 |
} |
|
0 | 69 |
trunk/libraries/libUI/src-test/org/gvsig/gui/beans/filterPanel/tableFilterQueryPanel/Test2TableFilterQueryJPanel.java | ||
---|---|---|
1 |
package org.gvsig.gui.beans.filterPanel.tableFilterQueryPanel; |
|
2 |
|
|
3 |
import java.awt.Dimension; |
|
4 |
|
|
5 |
import javax.swing.JFrame; |
|
6 |
|
|
7 |
import org.gvsig.gui.beans.filterPanel.tableFilterQueryPanel.TableFilterQueryJPanel; |
|
8 |
|
|
9 |
import com.iver.andami.PluginServices; |
|
10 |
|
|
11 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
12 |
* |
|
13 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
14 |
* |
|
15 |
* This program is free software; you can redistribute it and/or |
|
16 |
* modify it under the terms of the GNU General Public License |
|
17 |
* as published by the Free Software Foundation; either version 2 |
|
18 |
* of the License, or (at your option) any later version. |
|
19 |
* |
|
20 |
* This program is distributed in the hope that it will be useful, |
|
21 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
22 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
23 |
* GNU General Public License for more details. |
|
24 |
* |
|
25 |
* You should have received a copy of the GNU General Public License |
|
26 |
* along with this program; if not, write to the Free Software |
|
27 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
28 |
* |
|
29 |
* For more information, contact: |
|
30 |
* |
|
31 |
* Generalitat Valenciana |
|
32 |
* Conselleria d'Infraestructures i Transport |
|
33 |
* Av. Blasco Ib??ez, 50 |
|
34 |
* 46010 VALENCIA |
|
35 |
* SPAIN |
|
36 |
* |
|
37 |
* +34 963862235 |
|
38 |
* gvsig@gva.es |
|
39 |
* www.gvsig.gva.es |
|
40 |
* |
|
41 |
* or |
|
42 |
* |
|
43 |
* IVER T.I. S.A |
|
44 |
* Salamanca 50 |
|
45 |
* 46005 Valencia |
|
46 |
* Spain |
|
47 |
* |
|
48 |
* +34 963163400 |
|
49 |
* dac@iver.es |
|
50 |
*/ |
|
51 |
|
|
52 |
/** |
|
53 |
* Tests TableFilterQueryJPanel |
|
54 |
* |
|
55 |
* @author Pablo Piqueras Bartolom? (p_queras@hotmail.com) |
|
56 |
*/ |
|
57 |
public class Test2TableFilterQueryJPanel { |
|
58 |
public static void main(String[] args) { |
|
59 |
JFrame frame = new JFrame(); |
|
60 |
|
|
61 |
TableFilterQueryJPanel tableFilterQueryJPanel = new TableFilterQueryJPanel(); |
|
62 |
tableFilterQueryJPanel.resize(460, 300); |
|
63 |
|
|
64 |
frame.getContentPane().add(tableFilterQueryJPanel); |
|
65 |
frame.setTitle(PluginServices.getText(null, "test_TableFilterQueryJPanel_title")); |
|
66 |
frame.setSize(new Dimension(460, 300)); |
|
67 |
frame.pack(); |
|
68 |
frame.setVisible(true); |
|
69 |
} |
|
70 |
} |
|
0 | 71 |
Also available in: Unified diff