1. Java - Can't get getText in jTextArea to work properly stackoverflow.comI have a seperate JFrame where there is a text box (jTextArea) that takes numbers as inputs, each separated with a new line. Upon closing the JFrame with the text box, ... |
2. call to JTextArea.getText() is not getting current text coderanch.comIn the following code there is a JTextArea with an initial string. When the user changes the text in the JTextArea and clicks on update on the menu bar, class2.update() is called which in turn calls a class1.getText() method which should return the text in the JTextArea. The problem I am having is that the inital string is always returned. For ... |
3. how do i read new line char in jtextarea.getText()? forums.oracle.com |