Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,796

    Re: JOption to JFrame HELP...messed my program up

    The loop will have to come out of the listener. You can not loop inside of the listener. The looping will be as I described in the last post.
  2. Replies
    9
    Views
    1,796

    Re: JOption to JFrame HELP...messed my program up

    You are going to have to redesign the logic to use fields in the GUI instead of the option pane prompts.
    There won't be a loop inside of your code. The "loop" will be sort of like this:
    you...
  3. Replies
    9
    Views
    1,796

    Re: JOption to JFrame HELP...messed my program up

    Using a GUI is sort of the opposite of using prompts with JOptoinPanes.
    You present the GUI to the user, he fills in data or checks some options and presses a button.
    The program then collects the...
  4. Replies
    9
    Views
    1,796

    Re: JOption to JFrame HELP...messed my program up

    import java.awt.*;
    import javax.swing.*;

    import java.awt.event.*;
    import java.util.Random;
    import java.util.Scanner;


    public class WordGuessGame
    {
  5. Replies
    9
    Views
    1,796

    Re: JOption to JFrame HELP...messed my program up

    Please post your code in the forum that you want looked at.
Results 1 to 5 of 5