Revision 13915 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/pixelincrease/PixelncreaseDialog.java

View differences:

PixelncreaseDialog.java
212 212
	 * con los datos de escala y desplazamiento seleccionados.
213 213
	 */
214 214
	protected void paintComponent(Graphics g) {
215
		if(w == 0 && h == 0) {
216
			w = g.getClipBounds().width;
217
			h = g.getClipBounds().height;
218
		}
215
		w = getVisibleRect().width;
216
		h = getVisibleRect().height;
219 217
				
220 218
		if(clear) {
221 219
			g.setColor(Color.BLACK);

Also available in: Unified diff