For printer code in java

To print data from contents in jframe

Page 1 of 1

1 Replies - 587 Views - Last Post: 23 February 2010 - 10:49 PM Rate Topic: -----

#1 dcr2290  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 25-January 10

For printer code in java

Posted 23 February 2010 - 10:33 PM

I want to print data from contents in JFrame so how can i print that ?
I know the print method is use to print data via printer but do not know how to use that method.
Can anyone give solution to me? :xmas: :xmas: :xmas:

Is This A Good Question/Topic? 0
  • +

Replies To: For printer code in java

#2 javabie  Icon User is offline

  • D.I.C Head

Reputation: 36
  • View blog
  • Posts: 117
  • Joined: 12-February 10

Re: For printer code in java

Posted 23 February 2010 - 10:49 PM

i really don't kno what you mean by your question because of ambiguity.
what kinda of data? and wat do u mean by contents?

if you are using JFrame... then several options are available to you.
using labels, textareas, textfields.. etc.

here is an example...
http://java.sun.com/...s/textarea.html
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1