I am creating a small dice betting game with a GUI.
The users chooses which variation of the game they want to play and how much to bet, then press throw.
I have a JPanel which contains a JLabel, i want this JLabel to refresh with the users current balance when the throw button is pressed.
I have checked and it appears that the balance is being updated bu the JLabel is not being repainted.
Here is my actionListener
The JPanel that holds my balance JLabel.
When the button "roll" is pressed the method below is executed. As you can see i try to repaint the JLabel balance