add documentation for the getPane method