Revision 22738

View differences:

trunk/libraries/libRaster/src-test/org/gvsig/raster/grid/filter/TestUIConvolution.java
1
package org.gvsig.raster.grid.filter;
2
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
3
 *
4
 * Copyright (C) 2007 IVER T.I. and Generalitat Valenciana.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program 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
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
19
 */
20
import javax.swing.JFrame;
21

  
22
import org.gvsig.raster.grid.filter.convolution.ConvolutionUI;
23
/**
24
 * Clase para poder ver la ventana de las Tablas de color
25
 *
26
 * @version 28/09/2007
27
 * @author Nacho Brodin nachobrodin@gmail.com
28
 */
29
public class TestUIConvolution {
30
	private JFrame 			frame = new JFrame();
31

  
32
	public TestUIConvolution() {
33
		super();
34
		initialize();
35
	}
36

  
37
	public static void main(String[] args){
38
		new TestUIConvolution();
39
	}
40

  
41
	private void initialize() {
42
		ConvolutionUI ui = new ConvolutionUI(null);
43
		frame.setContentPane(ui);
44
		frame.setSize(new java.awt.Dimension(220, 190));
45
		frame.setResizable(true);
46
		frame.setTitle("Convolution");
47
		frame.setVisible(true);
48
		frame.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
49
	}
50
}

Also available in: Unified diff