root / trunk / extensions / extRasterTools-SE / src-test / org / gvsig / rasterTools / properties / panels / TestEnhancedWithTrim.java @ 10917
History | View | Annotate | Download (745 Bytes)
1 |
package org.gvsig.rasterTools.properties.panels; |
---|---|
2 |
|
3 |
import javax.swing.JFrame; |
4 |
|
5 |
import org.gvsig.gui.beans.table.exceptions.NotInitializeException; |
6 |
import org.gvsig.rastertools.properties.panels.EnhancedWithTrimPanel; |
7 |
|
8 |
public class TestEnhancedWithTrim{ |
9 |
private int w = 200, h = 220; |
10 |
private JFrame frame=new JFrame(); |
11 |
private EnhancedWithTrimPanel slider = null; |
12 |
|
13 |
public TestEnhancedWithTrim() throws NotInitializeException{ |
14 |
slider = new EnhancedWithTrimPanel();
|
15 |
frame.getContentPane().add(slider); |
16 |
frame.setSize(w, h); |
17 |
frame.setVisible(true);
|
18 |
} |
19 |
|
20 |
public static void main(String[] args) { |
21 |
try{
|
22 |
new TestEnhancedWithTrim();
|
23 |
}catch(NotInitializeException ex){
|
24 |
System.out.println("Tabla no inicializada"); |
25 |
} |
26 |
} |
27 |
} |