@Override
	public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) {
		//System.out.println("setBoundsForFrame");
		if (!(f instanceof JInternalFrame)) {
			newWidth = ICON_WIDTH;
			newHeight = ICON_HEIGHT;
			
			newX = findNearest(newX,ICON_WIDTH) * ICON_WIDTH;
			newY = findNearest(newY,ICON_HEIGHT) * ICON_HEIGHT;
		}
		
		super.setBoundsForFrame(f,newX,newY,newWidth,newHeight);
	}