Tuesday, 10 September 2013

How a programme can be stopped for a timeframe in java?

How a programme can be stopped for a timeframe in java?

I have a programme in which I have some jbuttons.Every time I click one
jbutton an image is loaded on it.When I press another jbutton another
image is loaded on this jbutton.The programme checks if the images are
same.If they are same the jbuttons remain with the images on
them,otherwise the images are unloaded from the buttons.I want to stop the
programme for a while so the user to see the two images and then the
routine which I described to be executed.The programme is too big, because
it is part of a game ,so I can't give any code.

No comments:

Post a Comment