public void refresh() {
		for (int iteration = 0; iteration < subpanes.size(); iteration++) {
			final Pane pane = subpanes.get(iteration);
			pane.refresh();

			for (int x = 0; x < pane.width; x++) {
				for (int y = 0; y < pane.height; y++) {
					if (x + pane.offsetX < width && y + pane.offsetY < height && pane.buffer[x][y] != null) {
						buffer[x + pane.offsetX][y + pane.offsetY] = pane.buffer[x][y];
					}
				}
			}
		}
	}