Search:

Type: Posts; User: dlorde

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    2,488

    Re: Final Project - Trivia Game

    You don't need an 'if' statement to tell if a button is clicked - you add an ActionListener to it and the actionPerformed method is automatically called. It's the same for a combo box selection.
    ...
  2. Replies
    5
    Views
    2,488

    Re: Final Project - Trivia Game

    This kind of thing is usually done with a combo box - a dropdown list of items (e.g. names of states) from which you can select an item. Use an array of buttons if that's what you really want, but it...
Results 1 to 2 of 2