root / trunk / extensions / extRasterTools-SE / src-test / org / gvsig / rasterTools / properties / panels / TestEnhancedPanel.java @ 10886
History | View | Annotate | Download (739 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 |
|
8 |
public class TestEnhancedPanel{ |
9 |
private int w = 400, h = 250; |
10 |
private JFrame frame=new JFrame(); |
11 |
private EnhancedPanel slider = null; |
12 |
|
13 |
public TestEnhancedPanel() throws NotInitializeException{ |
14 |
slider = new EnhancedPanel();
|
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 |
TestEnhancedPanel slider = new TestEnhancedPanel();
|
23 |
}catch(NotInitializeException ex){
|
24 |
System.out.println("Tabla no inicializada"); |
25 |
} |
26 |
} |
27 |
} |