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.
subject: JTextArea size increase as size of font increase