Thanks for the reply Darryl Burke. I had a look at that
thread and found the answer. Actually I have created hundreds of GUI's by hard coding, so I decided to use NETBEANS because the time is correct....
Anyhow, I got the hidden message behind that advice you have posted there. This issue happenes because I have used "Free Design" right? Ya, from next time onwards I will make sure to add layouts even though I am using an IDE.
Thanks a lot for your help, it opened my eyes......