Hi all,
I have an
applet in which i call a method from my paint() method to add two buttons, the paint() method transfers control to the method and i get the two buttons on the applet screen but i can see those only if I enlarge the applet screen, otherwise the screen is blank . I am giving the code below :
[code]
public void afterQuestions(){
remove(okbutton);
remove(answerField);
add(reviewbutton); //this is the first button
add(scorebutton); //this is the second button
stopflicker=false;
}
after this method i should ideally see the buttons in my applet on the top-centre ..