This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTextArea size increase as size of font increase  RSS feed

Mansoor ulHaq
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using a JTextArea in a frame for displaying some contents. During execution when i increase font size of JTextArea then font size increases as well as size of JTextArea also increase. It covers a large area of frame. Please tell me which property of JTextArea I should set for fixing size of JTextArea. Only font size of contents increase/decrease but size of JTextArea must not change.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!