Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    If you are getting error messages, you should post the full text here if you want help fixing them.
  2. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    Good luck. In the future try to prepare the code for easy testing. This one takes too much time to set up.


    That's because the code calls: System.exit(0);
    Remove that call and the windows will...
  3. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    You need to create a testing version of the code that requires minimum interactions from the user.
    Pre load all the variables that need values so that all a tester needs to do is press the Search...
  4. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    Your code executes and displays the contents of the file that was read in the text area.
    Can you explain what the problem is? It is displaying text for me.
  5. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    Your code already calls setText() .
    Is is being executed? Add some printlns to show where the execution flow is going to prove that the setText is called.

    It is not called when I execute the...
  6. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    Do you have a reference to the class that contains displayArea in the DialogBox class?
    Use it to reference displayArea:
    theRefToTheClass.displayArea.setText(newString);
  7. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    You didn't answer any of my questions.
    What component do you want to display the string in?
  8. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    Where do you what to display it? Do you have a place to show it? It must be in an object in the GUI.
    Do you have a reference variable for the Original window? Use that to access the variable where...
  9. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    You don't say what component the String is being passed to for display.
    Can you give me a clue of the name of the variable holding the String and the name of the variable in the GUI where the...
  10. Replies
    18
    Views
    1,184

    Re: Help displaying a new string to GUI

    Please Edit your post and wrap your code with
    <YOUR CODE HERE> to get highlighting.


    Can you explain what this means? What is "the original window"?
    You can use a text field to display a...
Results 1 to 10 of 10