Hi, Li - I think you'll find that more people will be willing to help you if you do two things: 1. Use the CODE UBB tags to delineate your code; 2. Use code snippets, not the whole program. You may also want to separate your questions into separate posts. Hope this helps.
Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4 all those years ago...)
F is for finger. Can you stick your finger in your nose? Doesn't that feel nice? Now try this tiny ad:
Try Free Java/.NET Libraries for Word Excel PowerPoint and PDF