Added createRightPanel method