Thank you for tutorial, it's really useful. I have one question though, i drawed the rectangle shape by defining 'UIComponent' object and then used its 'graphic' property which allowed me to use 'drawRect' and other drawing methods. Is there a reason why i should be using Shape object like you suggested over this method i used?

thanks once again,
best regards