This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Actualy sir what's wrong with following code , i would like to see working of ActionPerformed function but it is not working. Mean ActionPerformed function is not calling by ActionListner why why why?pls help.
this is your second post with the subject "Applet" - how are we going to tell which one is which in the forum overview? In fact this isn't even an Applet question, but a generic Swing question. Please take some time to compose a meaningful subject line when posting a question, that will safe all those people who'd like to help you a lot of time, and therefore simply would be an act of respect. See http://faq.javaranch.com/view?UseAMeaningfulSubjectLine
You can change the subject line by clicking the edit icon on your very first post of the thread.
Moving this and your other post to the Swing forum.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
When you add a component to a container that's already visible on the screen, you must call validate() on the container afterwards. Until you do, the new component won't appear. Since here the applet itself is the container, just add the line