gvsig-raster / org.gvsig.raster.tools / trunk / org.gvsig.raster.tools / org.gvsig.raster.tools.algorithm / org.gvsig.raster.tools.algorithm.swing / org.gvsig.raster.tools.algorithm.swing.impl / src / test / java / org / gvsig / raster / tools / algorithm / swing / impl / TestOperationMaskThresholdPanel.java @ 1283
History | View | Annotate | Download (818 Bytes)
1 |
package org.gvsig.raster.tools.algorithm.swing.impl; |
---|---|
2 |
|
3 |
|
4 |
import javax.swing.JFrame; |
5 |
|
6 |
import org.gvsig.raster.tools.algorithm.swing.impl.maskthreshold.OperationMaskThresholdImpl; |
7 |
|
8 |
public class TestOperationMaskThresholdPanel { |
9 |
private int w = 400; |
10 |
private int h = 230; |
11 |
private JFrame frame = new JFrame(); |
12 |
private OperationMaskThresholdImpl ui = null; |
13 |
|
14 |
public TestOperationMaskThresholdPanel() {
|
15 |
ui = new OperationMaskThresholdImpl();
|
16 |
frame.getContentPane().add(ui); |
17 |
frame.setSize(w, h); |
18 |
frame.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); |
19 |
frame.setVisible(true);
|
20 |
} |
21 |
|
22 |
public static void main(String[] args) { |
23 |
new TestOperationMaskThresholdPanel();
|
24 |
} |
25 |
|
26 |
} |