Revision 12123 trunk/extensions/extRasterTools-SE/src-test-ui/org/gvsig/rasterTools/properties/panels/TestTransparencyPanel.java
TestTransparencyPanel.java | ||
---|---|---|
28 | 28 |
|
29 | 29 |
import org.gvsig.rastertools.properties.panels.TransparencyPanel; |
30 | 30 |
|
31 |
public class TestTransparencyPanel extends JFrame{ |
|
31 |
public class TestTransparencyPanel extends JFrame {
|
|
32 | 32 |
private static final long serialVersionUID = 5107504265694548340L; |
33 | 33 |
public TestTransparencyPanel(){ |
34 | 34 |
this.setSize(500,390); |
35 | 35 |
TransparencyPanel tbp = new TransparencyPanel(); |
36 | 36 |
this.getContentPane().add(tbp); |
37 |
this.show(); |
|
37 |
this.setVisible(true); |
|
38 |
this.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); |
|
38 | 39 |
} |
39 |
/** |
|
40 |
* @param args |
|
41 |
*/ |
|
40 |
|
|
42 | 41 |
public static void main(String[] args) { |
43 | 42 |
new TestTransparencyPanel(); |
44 | 43 |
} |
45 |
|
|
46 |
} |
|
44 |
} |
Also available in: Unified diff