Thank You Ulf for a warm Welcome.
Thank you for your reply. I also thank you for the useful tip of not using constructor in an applet. I will remember that.
I tried putting the code in the start() method also but it created few more problems. The required lookandfeel only show when I put my code in the static block, but it doesn't keep the same lookandfeel once I refresh the page and displays the java swing lookandfeel.
I am not able to find out whats going wrong. you have pointed out about the page reload. So, should I try looking for some help on that or it might be some other issue that I should look for?
Thank You.