Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

to make a flashing effect?

843805Nov 27 2006 — edited Nov 29 2006
Hi guys,
I am now making a pente game.
I basically have a n by n JLabels filled a JPanel and set an image of a +.
When the label gets click, then the label simply reset the image to an image that shows a black or white stone.

Now I want to make it looks cool by flashing the stones if one player can form five in a row.

I was thinking to set images to a flashing gif image but that was my last option if i can find some built-in functions that can archieve the same goal.

Can anyone help with this?

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2006
Added on Nov 27 2006
10 comments
432 views