Update Method inside a GUI?
Hey all, this question seems so simple yet I haven't done anything like this before and the answer is currently eluding me... I have built a game of Texas Holdem in the command line and am now trying to apply this to a GUI (my first). I've made a simple GUI with the buttons, text fields, etc and I am in the middle of trying to move everything over to action events from these.
But before this, I realize that I will need an update method that runs even when there is no action being done by the user to show what other players are doing... I'm just not sure how to create an update method in the same thread as the GUI without bringing the GUI to a dead stop. If anything is unclear, please just let me know and I'll try to clarify. Thanks in advance for the help.