Search:

Type: Posts; User: amcqueen

Search: Search took 0.30 seconds.

  1. Replies
    1
    Views
    1,021

    Pausing a loop until a button is pressed

    For my code the most convenient method is to use a for loop. This works well, but at the end of each iteration I want the user to choose between on button, one that continues the loop and another...
  2. Re: My JPanels don's stack the way I expect them to

    Okay. Sorry, I was really tired.

    Basically I am hoping to have the panels stack vertically. I want four panels, one on top of the other. I tried to put a panel in the NORTH region of my JFrame...
  3. My JPanels don's stack the way I expect them to

    This is my code:

    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;

    class BlackjackGUI {
    JButton hit;
    JButton stand;
Results 1 to 3 of 3