Results 1 to 2 of 2
  1. #1
    Tamu is offline Member
    Join Date
    Nov 2008
    Posts
    19
    Rep Power
    0

    Default system-print(ln) on jtextarea or jpanel

    Hello,

    In a method I have a lot of System.out.print(ln) and System.err.print(ln) let's say in Teach.java file.

    Now I make a window for Control.java let's say Window.java so a user can use Teach.java more grafically.

    The problem is how to make System-print(ln) code lines in Teach.java print on the Window.java JtextArea or JPanel? - not in the console

    If i am going to save all System-print(ln) into a String first then print on JtextArea or JPanel later, it is gonne be tiresome.

  2. #2
    Tamu is offline Member
    Join Date
    Nov 2008
    Posts
    19
    Rep Power
    0

    Default

    Now I make a window for Control.java let's say Window.java so a user can use Teach.java more grafically.
    mistake: Control.java => Teach.java

Similar Threads

  1. System.out.print("Hello!")
    By Console in forum Introductions
    Replies: 6
    Last Post: 09-22-2008, 01:09 AM
  2. Print the text file and print preview them
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-23-2008, 12:04 AM
  3. How to manipulate JtextArea
    By bachtoutou in forum New To Java
    Replies: 8
    Last Post: 05-22-2008, 10:36 AM
  4. JTextArea
    By saytri in forum New To Java
    Replies: 0
    Last Post: 01-13-2008, 02:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •