Ok so i made a game in which a random no. is generated and user have to guess it. The game gives clues like Higher or Lower to user. When a guessed no is found a new jframe opens in a new class gui.class. Now i want to pass the argumets random no and user chances ie counter to gui.class so help me
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
> When a guessed no is found a new jframe opens in a new class gui.class.
why?
if the game is gui-based, you'd simply re-use/reset the components