In my application, soon as I enter more than 249 characters in my JTextArea, the buttons stop functioning. I am not sure if its a problem with the actionperformed method of the button, or the number of characters in text area. Also I want to be able to increase number of characters entered in the JTextArea to something close to 1000 characters.
It's definitely something in your code doing that, since a standard JTextArea isn't limited to 249 characters. But since we can't see any of your code, of course we can't say anything more meaningful than that. Could you post a small and focused example? (I.e. not a whole 600-line class which has a JTextArea and twenty other components.)
Joined: Aug 14, 2009
Thanks for the quick response Paul.
Based on your response, I started debugging the action performed method, I am maintaining an already developed application. Interestingly somewhere deep inside the code, while they do 101 other things, they also restrict all the UI input fields to not exceed some max value. If it does, they throw an exception, which is caught in the action performed level as a general exception and swallowed up, not even logged or printed to the console or shown to the user that it exceeded the max characters. .