This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

rahul nathan

Greenhorn
+ Follow
since Aug 21, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by rahul nathan

"Sounds like you are dynamically adding components without re-validating the screen... try adding validate() right after you change Labels... if you are ending up with two Labels, that means that you didn't remove the old one before adding the new one..."
This really helped thank you very much for your time.Now how do i remove my old Label?I need to use update method?
thanks.
18 years ago
Manfred.
Thanks for your reply.Would you mind giving me a piece of code.
I wrote a simple applet,this time i didnt use images i used Label's(displaying Right and Wrong )instead.Now when i select my answer and click the button,i could see the label only when i resize my applet,is there anything i'm missing?
Also,If i press the submit button again,i'm getting one more Label..rather than replacing the old Label.
Expecting your reply,
Rahul.
18 years ago
Hi All,
I've a quiz applet.My applet displays a question using Label,shows answers using Choice and a Button to submit the answers.
Now when the user selects the answer and presses the button,i want to display either a tick mark or a cross mark(gif images),based on whether the question is answered correctly/wrongly.
Can anyone in this forum help me out,i'm really struck.
thanks.

18 years ago