When I try to display the second image, it doesn't get updated...
Here are my full codes //New package test1; public class New JFrame extends javax.swing.
Please find the CODE button to maintain indentation; I have edited your post so you can see how much better it looks.
I haven't had enough time to read the whole of the code, but it seems peculiar that you are creating new Dice objects every time the action Performed methods are invoked.
The program I'm creating is a basic snakes and ladders game. The buttons are created in a seperate class to the dice and the labels.
I have got as far as generating two random numbers (ie two dice) and giving the user the option of selecting which amount they want to move by. The problem I'm having is updating the text in the labels to show the newly generated number after one of the buttons is clicked.