Although JXTaskPane can be placed in any container, it is most often placed within a JXTaskPaneContainer (as it is here). JXTaskPaneContainer is specifically designed to display multiple JXTaskPanes in a platform-appropriate manner.
Note: the demo application uses JXTaskPanes in the demo selector to group the demos by category.