1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

How can I loop the questions in a trivia applet?

Discussion in 'JAVA, SOA and Application Development' started by ProgrammerWannaBe, Mar 16, 2015.

  1. am a beginner in Java. I am trying to create a multiple choice trivia applet.After the user answered the questions, the score will be displayed. However,I want it to go back to the first frame (or what you call that) so that the game will not end at all, but I don't know how to do that. Anyone who can help me?

    Also,I want the questions to be in random the next time the user plays.
    Attached is my code and I'm using Eclipse.
     

    Attached Files:

  2. jagadekara

    jagadekara Forum Guru

    Messages:
    1,126
    Likes Received:
    145
    Trophy Points:
    1,805
    Location:
    Pulivendula
  3. Bharat

    Bharat Community Moderator Forum Guru

    Messages:
    1,747
    Likes Received:
    147
    Trophy Points:
    1,805
    Location:
    Vijayawada, India
    Hey Hi ,

    Welcome to Club-Oracle!!

    If you have any queries related to java then post them under Java Development section. By that it will be easy to get answers from experts.