Printing contents of a JTextArea
Hi :) I'm currently trying to print the contents of aJTextArea using the recently newprint()method of theJTextComponentclass available to the newly released Java Mustang(Dec 2006).
I have been successful so far except : not all contents of each line are printed - it proceeds to printing the new line since the preceeding line's contents exceeds the margin of the paper.
Hope I have been able to articulate the problem.
I'm not sure if anyone has stumbled on this one (since the method's new and/or I'm new to Java) but just hoping someone can point me to the right direction.
Thanks in advance,
Lem
P.S.
The forum has been really a great help. I'm looking forward to return the favor soon (with or without Duke stars :))

