if(yoursuccesscondition)
{
f.setvisible(true);
}
Type: Posts; User: Mr.777
if(yoursuccesscondition)
{
f.setvisible(true);
}
Okay now it's not visible. Now in your if condition where you want it to display, set it's visibility to true.
Place a text field in the panel, and set it's visibility to false with the default text "You Won" and when this condition comes true, enable that field and you will get what you want.
Hope it...