Added new constructor to PurplePanel