Revision 11303 trunk/libraries/libUIComponent/src-test/org/gvsig/gui/beans/coordDataInput/TestCoordDataInput.java

View differences:

TestCoordDataInput.java
23 23
		frame.getContentPane().add(coord);
24 24
		frame.setSize(w, h);
25 25
		frame.setVisible(true);
26
		
26
		frame.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
27 27
	}
28
	
29
	public static void main(String[] args){
28

  
29
	public static void main(String[] args) {
30 30
		try {
31
			UIManager.setLookAndFeel("com.jgoodies.looks.plastic.PlasticXPLookAndFeel");
32
		} catch (Exception e) {
33
			System.err.println("No se puede cambiar al LookAndFeel");
34
		}
35
		try {
31 36
			UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
32 37
		} catch( Exception e ) {
33 38
			System.err.println( "No se puede cambiar al LookAndFeel");

Also available in: Unified diff