root / trunk / extensions / extRasterTools-SE / src-test / org / gvsig / rasterTools / properties / panels / TestEnhancedPanel.java @ 10740
History | View | Annotate | Download (809 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.EnhancedPanel; |
7 |
import org.gvsig.rastertools.properties.panels.EnhancedWithTrimPanel; |
8 |
|
9 |
public class TestEnhancedPanel{ |
10 |
private int w = 400, h = 250; |
11 |
private JFrame frame=new JFrame(); |
12 |
private EnhancedPanel slider = null; |
13 |
|
14 |
public TestEnhancedPanel() throws NotInitializeException{ |
15 |
slider = new EnhancedPanel();
|
16 |
frame.getContentPane().add(slider); |
17 |
frame.setSize(w, h); |
18 |
frame.setVisible(true);
|
19 |
} |
20 |
|
21 |
public static void main(String[] args) { |
22 |
try{
|
23 |
TestEnhancedPanel slider = new TestEnhancedPanel();
|
24 |
}catch(NotInitializeException ex){
|
25 |
System.out.println("Tabla no inicializada"); |
26 |
} |
27 |
} |
28 |
} |