Hi Masepogu,
welcome to the JavaRanch!
I think it requires a little bit more effort to mimic the functionality of MS Outlook. You can't expect anyone to post a few samples of code here and everything just works. I guess you have to think about a solution yourself and come up with more specific questions here in order to get some help
Marco