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, SCJD in progress, if you can call that progress...)