I'm developing a Poker game.
I have done the GUI for the table, card, etc...
But now I don't really know how/where to put things like
- Request the system to deal cards
- Update the table GUI after each time a turn is dealt (hole cards, flop, turn, river, showdown)
My table GUI is in this form, I don't put my TableGUI code up here as it is too long.
TableGUI {
//Set up the table, display the table and actions panel (check, fold, bet, etc..)
}
actionPerformed{
}
   private static void createAndShowGUI() {
        //Make sure we have nice window decorations.
        JFrame.setDefaultLookAndFeelDecorated(true);
         TableGUI frame = new TableGUI();
   }
   public static void main(String[] args) {
         //Schedule a job for the event-dispatching thread:
        //creating and showing this application's GUI.
      javax.swing.SwingUtilities.invokeLater(new Runnable() {
          public void run() {
             createAndShowGUI();
          }
      });
}
Could some one tell me how/where to put those above?
Thanks