svn-gvsig-desktop / trunk / libraries / libCq CMS for java.old / src-test / org / cresques / ui / PruebaFrame.java @ 4532
History | View | Annotate | Download (460 Bytes)
1 |
package org.cresques.ui; |
---|---|
2 |
|
3 |
import javax.swing.JFrame; |
4 |
|
5 |
import org.cresques.ui.raster.TransparencyByPixelPanel; |
6 |
|
7 |
public class PruebaFrame extends JFrame{ |
8 |
|
9 |
public PruebaFrame(){
|
10 |
this.setSize(353,158); |
11 |
TransparencyByPixelPanel tbp = new TransparencyByPixelPanel();
|
12 |
this.getContentPane().add(tbp);
|
13 |
tbp.setControlEnabled(true);
|
14 |
this.show();
|
15 |
} |
16 |
/**
|
17 |
* @param args
|
18 |
*/
|
19 |
public static void main(String[] args) { |
20 |
PruebaFrame f = new PruebaFrame();
|
21 |
} |
22 |
|
23 |
} |