Refresh Array of JButtons

Hey everyone,

I am writing a game where I need to have an initial array of JButtons displayed in a window(which I have) and then, for some of the Buttons, attach a picture. I know how to do all of this, but how do I refresh the window to show this new array of JButtons that now has pictures on some of the buttons. Thanks for the help!

[349 byte] By [berkekibrisa] at [2007-11-27 6:12:05]
# 1
Try calling revalidate() on the panel, assuming it's a Swing component.
CaptainMorgan08a at 2007-7-12 17:19:00 > top of Java-index,Java Essentials,Java Programming...