I would like to increase the spacing / padding / insets for the JTextField and JTextArea. Effectively increase the spacing between the two red lines in the image below:开发者_开发知识库
I\'m developing an application which requires that only 165 characters to be in the JTextArea. I\'ve imposed that condition. I\'ve used a static counter for counting number of characters entere开发者_
Using Netbeans 6.8 (Mac Version) drag and drop tool for making the GUI, I have designed a JTextArea which the user should paste his data which the program will modify and show it to him.
I have a text area with some text in it and I want to add some lines to it again, (the first lines + the other lines that I want to add) but it doesn\'t work.
I had posted a question in regards to this code. I found that JTextArea does not support the binary type data that is loaded.
Anybody know if there is an easy way to limit the allowed characters for a JTextArea. I.e. similar to JTextField using MaskFormatter.