Revision 10962 trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/graphic/GraphicContainer.java

View differences:

GraphicContainer.java
53 53
	private	boolean 				showSlider = true;
54 54

  
55 55
	public GraphicContainer() {
56
		graphicListener = new GraphicListener();
56
		graphicListener = new GraphicListener(this);
57 57
		initialize();
58 58
	}
59 59
	
......
61 61
		this.showSlider = showSlider;
62 62
		if (!showSlider)
63 63
			HEIGHT_DOUBLESLIDER = 0;
64
		graphicListener = new GraphicListener();
64
		graphicListener = new GraphicListener(this);
65 65
		initialize();
66 66
	}
67 67
	
......
215 215
		return this.getPBoxes().getControlLeft().getTText();
216 216
	}
217 217

  
218
	public void componentResized(ComponentEvent e) {
219
		this.setComponentSize(this.getWidth(), this.getHeight());
220
	}
221

  
218 222
	public void componentHidden(ComponentEvent e) {
219 223
		// TODO Auto-generated method stub
220 224
	}
221 225

  
222 226
	public void componentMoved(ComponentEvent e) {
223
		// TODO Auto-generated method stub
227
		// TODO Auto-generated method stub	
224 228
	}
225 229

  
226
	public void componentResized(ComponentEvent e) {
227
		this.setComponentSize(this.getWidth(), this.getHeight());
228
	}
229

  
230 230
	public void componentShown(ComponentEvent e) {
231 231
		// TODO Auto-generated method stub
232 232
	}

Also available in: Unified diff