Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTextArea size increase as size of font increase

 
Mansoor ulHaq
Greenhorn
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