java change images with buttons
<p>I want to create an image viewing program.
I can set the first image to the background but my problem is that I cant set the second image  which is change able with the buttons on the side.
The images may not be in ImageIcons and may not be set with .setIcon(icon).
How could I develop this?
I havent any code now.
Maybe someone could write a simple code to this example.</p>

<p>example: <a href="http://imageshack.us/photo/my-images/812/exame.png/" rel="nofollow">http://imageshack.us/photo/my-images/812/exame.png/</a></p>

<p>Thank you for your help :)</p>
