Ok so i made a game in which a random no. is generated and user have to guess it. The game givesclues 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 how can i pass arguments randomNo and counter from main class ie game.class to gui.class
adityawkhare
0
Newbie Poster
NormR1
563
Posting Sage
Team Colleague
jalpesh_007
commented:
nice artice...
+2
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.