Revision 12939 trunk/libraries/libUIComponent/src-test-ui/org/gvsig/gui/beans/colorbutton/TestColorButton.java

View differences:

TestColorButton.java
38 38

  
39 39
	private void initialize() {
40 40
		colorButton = new ColorButton();
41

  
41
		colorButton.setEnabled(false);
42 42
		jFrame = new JFrame();
43 43
		JPanel jpanel = new JPanel();
44 44
		jpanel.add(colorButton);
......
46 46
		jFrame.setContentPane(jpanel);
47 47
		jFrame.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
48 48
		jFrame.setVisible(true);
49
		jFrame.pack();
49 50
	}
50 51

  
51 52
	/**

Also available in: Unified diff