Implement paned window.