create new drawController method in JPControlLayout.