#How do I link a Button in Java

1 messages · Page 1 of 1 (latest)

raven stone
#

Hi, I have to make a Programm in Java that rolls a dice, I have written the code(marked in red) but I want a button (marked in yellow)to show the the rolled number in the Box(marked blue), how can I make it so that when I click the yellow marked button, it shows me the number in the Blue Box

cinder lavaBOT
#

<@&987246527741304832> please have a look, thanks.

cinder lavaBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.