Revision 10885 trunk/libraries/libUIComponent/src-test/org/gvsig/gui/beans/dataInput/TestDataInput.java
TestDataInput.java | ||
---|---|---|
28 | 28 |
|
29 | 29 |
public static void main(String[] args){ |
30 | 30 |
try { |
31 |
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); |
|
32 |
//UIManager.setLookAndFeel("com.jgoodies.looks.plastic.PlasticXPLookAndFeel"); |
|
33 |
//UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); |
|
34 |
} catch( Exception e ) { |
|
35 |
System.err.println( "No se puede cambiar al LookAndFeel"); |
|
36 |
} |
|
37 |
TestDataInput tof = new TestDataInput(); |
|
31 |
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); |
|
32 |
} catch( Exception e ) { |
|
33 |
System.err.println( "No se puede cambiar al LookAndFeel"); |
|
34 |
} |
|
35 |
new TestDataInput(); |
|
38 | 36 |
} |
39 | 37 |
|
38 |
public void componentResized(ComponentEvent e) { |
|
39 |
data.setComponentSize(frame.getWidth() - 10, frame.getHeight() - 30); |
|
40 |
} |
|
41 |
|
|
40 | 42 |
public void componentHidden(ComponentEvent e) { |
41 | 43 |
// TODO Auto-generated method stub |
42 |
|
|
43 | 44 |
} |
44 | 45 |
|
45 | 46 |
public void componentMoved(ComponentEvent e) { |
46 | 47 |
// TODO Auto-generated method stub |
47 |
|
|
48 | 48 |
} |
49 | 49 |
|
50 |
public void componentResized(ComponentEvent e) { |
|
51 |
data.setComponentSize(frame.getWidth() - 10, frame.getHeight() - 30); |
|
52 |
|
|
53 |
} |
|
54 |
|
|
55 | 50 |
public void componentShown(ComponentEvent e) { |
56 | 51 |
// TODO Auto-generated method stub |
57 |
|
|
58 | 52 |
} |
59 |
} |
|
53 |
} |
Also available in: Unified diff