Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    17
    Views
    1,560

    Re: Need help with some coding

    The PrintStream class you create gets the String printed by the print/println methods.
    You can then append that String to the textarea.
  2. Replies
    17
    Views
    1,560

    Re: Need help with some coding

    TextPanes are much more complicated than textfields. I'd change to a textfield.

    If you want to trap System.out.println() using setOut() you need to read the API doc for setOut() and find what...
  3. Replies
    17
    Views
    1,560

    Re: Need help with some coding

    There is a method in the System class that will change the class of the out variable. You could change that to a class of yours that would append what was written to System.out to the text area.
  4. Replies
    17
    Views
    1,560

    Re: Need help with some coding

    What are your questions or problems now?
  5. Replies
    17
    Views
    1,560

    Re: Need help with some coding

    I don't see any GUI code in what you have posted. Have you looked at the tutorial to see how to write some:
    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
Results 1 to 5 of 5