root / trunk / extensions / extRasterTools-SE / src-test / org / gvsig / rasterTools / properties / panels / TestTransparencyByPixelPanel.java @ 10917
History | View | Annotate | Download (1.64 KB)
1 |
/*
|
---|---|
2 |
* Created on 31-jul-2006
|
3 |
*
|
4 |
* To change the template for this generated file go to
|
5 |
* Window>Preferences>Java>Code Generation>Code and Comments
|
6 |
*/
|
7 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
8 |
*
|
9 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
10 |
*
|
11 |
* This program is free software; you can redistribute it and/or
|
12 |
* modify it under the terms of the GNU General Public License
|
13 |
* as published by the Free Software Foundation; either version 2
|
14 |
* of the License, or (at your option) any later version.
|
15 |
*
|
16 |
* This program is distributed in the hope that it will be useful,
|
17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
19 |
* GNU General Public License for more details.
|
20 |
*
|
21 |
* You should have received a copy of the GNU General Public License
|
22 |
* along with this program; if not, write to the Free Software
|
23 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
24 |
*/
|
25 |
package org.gvsig.rasterTools.properties.panels; |
26 |
|
27 |
import javax.swing.JFrame; |
28 |
|
29 |
import org.gvsig.rastertools.properties.panels.TranspByPixelPanel; |
30 |
|
31 |
/**
|
32 |
*
|
33 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
34 |
*
|
35 |
*/
|
36 |
public class TestTransparencyByPixelPanel extends JFrame{ |
37 |
private static final long serialVersionUID = -5820080370596334427L; |
38 |
public TestTransparencyByPixelPanel(){
|
39 |
this.setSize(450,225); |
40 |
TranspByPixelPanel tbp = new TranspByPixelPanel();
|
41 |
this.getContentPane().add(tbp);
|
42 |
tbp.setControlEnabled(true);
|
43 |
this.show();
|
44 |
} |
45 |
/**
|
46 |
* @param args
|
47 |
*/
|
48 |
public static void main(String[] args) { |
49 |
new TestTransparencyByPixelPanel();
|
50 |
} |
51 |
|
52 |
} |