try to make add and counter Class variable
Type: Posts; User: Chidy
try to make add and counter Class variable
May be if our forum Vip means this try it
public void actionPerformed(ActionEvent event)
{
if(event.getSource()==add){
counter++;}
}
calling method must be like die1.getFace() and die2.getFace() instead of die1(getFace) and die2(getFace) also you have to declare count and star
hello member i am just a new one here hoping to get your fully participation in this community :)