Revision 11303 trunk/libraries/libUIComponent/src-test/org/gvsig/gui/beans/doubleslider/TestDoubleSlider.java

View differences:

TestDoubleSlider.java
5 5

  
6 6
import javax.swing.JFrame;
7 7
import javax.swing.JPanel;
8
import javax.swing.UIManager;
8 9

  
9 10
public class TestDoubleSlider {
10 11
	
......
18 19
		jFrame.setSize(new Dimension(498, 267));
19 20
		jFrame.setContentPane(getJPanel());
20 21
		jFrame.show();
22
		jFrame.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
21 23
	}
22 24

  
23 25
	/**
......
49 51
	}
50 52

  
51 53
	public static void main(String[] args) {
54
		try {
55
			UIManager.setLookAndFeel("com.jgoodies.looks.plastic.PlasticXPLookAndFeel");
56
		} catch (Exception e) {
57
			System.err.println("No se puede cambiar al LookAndFeel");
58
		}
52 59
		new TestDoubleSlider();
53 60
	}
54 61
}

Also available in: Unified diff