Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextArea row height

 
david allen
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a JTextArea control whose fonts size is set to 24. For some reason it places quite a large space between the rows of text. It looks to me like the method used to calculate this height could be incorrect. I really want to be able to set that space by self.

It could be that the row height is based on the font but even still the row height that is produced is too big.

Does anyone know how to control the row height in a JTextArea object

Thank you for your help.
David
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!