Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get row count of JEditorPane content

sasi kala
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers,

i have to print a html file which is placed in JEditorPane and i have some code on how to print a html file. but my code needs the number of lines JEditorPane is displaying or height of JEditorPane.

is there any way to get the number of lines displaying in JEditorpane?
or height of the JEditorPane (including total html content)?
if any one know the answer.please help me...........
Thanks in Advace.

[ May 10, 2005: Message edited by: sasi kala ]
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic