Updated

Updated to work with the new PaneDemo class