I think the biggest mistake you made is writing lots of code. You should write a few lines, compile and run it. Then write a few lines more.
You have a problem about the setVisible call; you are never using it. If you don’t call setVisible, you will never see your GUI.
Joined: May 04, 2012
thanks a lot... i got it.. really its coolest forum.. i really need to learn a lot from this forum...