Please tell us what you have done so far about your requirement. Let us know if you are stuck somewhere and people here will try to help you.
Please Show some effort and understand that Javaranch is Not a Code Mill.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads