Hi, I have two inner classes class StartGameButtonListener implements ActionListener and class HitButtonListener implements ActionListener When I click on the startGameButton it works, it removes 2 cards from the deck and displays them in the textfield. But when I click on the hitButton nothing happens. Here is a small section of the code:
Thanks gee mann [ June 08, 2002: Message edited by: gee mann ]
Hi, there is not much code to see exactly, what's happening. But, there is 2 questions. Don't you have to shuffle() the deck in the HitButtonListener()? Why are you creating a new finalJTextField in your HitButtonListener()? Can u send me the code?
By constantly trying one ends up succeeding. Thus: the more one fails the more one has a chance to succeed.