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.
posted 6 years ago
thanks a lot... i got it.. really its coolest forum.. i really need to learn a lot from this forum...