added support for button clicks in swing module
added Drawing example