Revision 3110 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/FLayoutDraw.java

View differences:

FLayoutDraw.java
123 123
		
124 124
		for (int i = 0; i < layout.getFFrames().size(); i++) {
125 125
			IFFrame f=(IFFrame) layout.getFFrames().get(i);
126
			fframes.put(new Integer(f.getLevel()),f);
126
			if (f.getLevel()!=-1){
127
				fframes.put(new Integer(f.getLevel()),f);
128
			}else{
129
				fframes.put(new Integer(i),f);
130
			}
127 131
			if (layout.getFFrames().get(i) instanceof FFrameView) {
128 132
				FFrameView fframe = (FFrameView) f;
129 133
				Rectangle2D rec = fframe.getBoundingBox(layout.getAT());

Also available in: Unified diff