Search:

Type: Posts; User: copeg

Search: Search took 0.13 seconds.

  1. Re: Need help creating a a simple 'credit' system to a game

    I'd suggest to take a step back for a second, and draw out how you want your layout to be before assembling everything....for example:


    ...
  2. Re: Need help creating a a simple 'credit' system to a game

    I typed too fast for my own good: the above post should be JTextField (not JTextArea).

    You should probably also somehow have a display showing the total score, this could be a uneditable...
  3. Re: Need help creating a a simple 'credit' system to a game

    You can add two int variables, call them score and bet. You should probably add another JTextField (or maybe a JSpinner) to let users enter in the bet. You may wish to have a default bet that you set...
Results 1 to 3 of 3