Statistics
| Revision:

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 / TestInputLayerPanel.java @ 2480

History | View | Annotate | Download (854 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.bean.inputlayer.InputLayerImpl;
7

    
8
public class TestInputLayerPanel {
9
        private int                              w        = 400;
10
        private int                              h        = 130;
11
        private JFrame                           frame    = new JFrame();
12
        private InputLayerImpl                   ui       = null;
13

    
14
        public TestInputLayerPanel() {
15
                ui = new InputLayerImpl(null, true, false);
16
                ui.getBandsSelectorCombo().addItem("uno");
17
                ui.getBandsSelectorCombo().addItem("dos");
18
                frame.getContentPane().add(ui);
19
                frame.setSize(w, h);
20
                frame.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
21
                frame.setVisible(true);
22
        }
23

    
24
        public static void main(String[] args) {
25
                new TestInputLayerPanel();
26
        }
27

    
28
}