samedi 7 novembre 2020

Code for a button to activate a loop if it equals a random number

Im a novice a coding im using eclipse for java.i have created my jframe and I have a random number being generated in a label from 1 to 6 and buttons numbered but I can seem to get the buttons to recognise that they are a number and if the are clicked and match the random number to loop so the label generates a new number and so on




Aucun commentaire:

Enregistrer un commentaire