Revision 10885 trunk/libraries/libUIComponent/src-test/org/gvsig/gui/beans/openFile/TestOpenFile.java
TestOpenFile.java | ||
---|---|---|
5 | 5 |
|
6 | 6 |
import javax.swing.JFrame; |
7 | 7 |
|
8 |
import org.gvsig.gui.beans.coordDataInput.CoordDataInputContainer; |
|
9 |
import org.gvsig.gui.beans.dataInput.DataInputContainer; |
|
10 |
|
|
11 |
public class TestOpenFile implements ComponentListener{ |
|
8 |
public class TestOpenFile implements ComponentListener { |
|
12 | 9 |
private int w = 510, h = 90; |
13 | 10 |
private JFrame frame = new JFrame(); |
14 | 11 |
private OpenFileContainer open = null; |
... | ... | |
24 | 21 |
} |
25 | 22 |
|
26 | 23 |
public static void main(String[] args){ |
27 |
TestOpenFile tof = new TestOpenFile();
|
|
24 |
new TestOpenFile(); |
|
28 | 25 |
} |
29 | 26 |
|
30 | 27 |
public void componentHidden(ComponentEvent e) { |
31 | 28 |
// TODO Auto-generated method stub |
32 |
|
|
33 | 29 |
} |
34 | 30 |
|
35 | 31 |
public void componentMoved(ComponentEvent e) { |
36 | 32 |
// TODO Auto-generated method stub |
37 |
|
|
38 | 33 |
} |
39 | 34 |
|
40 | 35 |
public void componentResized(ComponentEvent e) { |
41 | 36 |
this.open.setComponentSize(this.frame.getWidth() - 10, this.frame.getHeight() -50); |
42 |
|
|
43 | 37 |
} |
44 | 38 |
|
45 | 39 |
public void componentShown(ComponentEvent e) { |
46 | 40 |
// TODO Auto-generated method stub |
47 |
|
|
48 | 41 |
} |
49 | 42 |
} |
Also available in: Unified diff