You have to hack your arduino install to do that, and you have to know a fair bit about java to do that.