Java JTextArea getAreaValue(JTextArea ta)

Here you can find the source of getAreaValue(JTextArea ta)

Description

get Area Value

License

Open Source License

Declaration

protected static String getAreaValue(JTextArea ta) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JTextArea;

public class Main {
    protected static String getAreaValue(JTextArea ta) {
        String ret = ta.getText().trim();
        if (!ret.equals("")) {
            return ret;
        }/*from  w ww. ja va  2s  . co m*/
        return null;
    }
}

Related

  1. copyFontAndMargins(final JTextArea target, final JComponent source)
  2. createTabArea(JTextArea area, int width)
  3. display(JTextArea txtOutput, String text)
  4. estimatedRows(JTextArea text)
  5. fixTabKeys(JTextArea textArea)
  6. getTextAreaScrollPaneContainer(JTextArea textArea, int nbLines)
  7. getTextDimension(JTextArea textArea, Dimension maxDimension)
  8. initLogConsole(final JTextArea textArea)
  9. initTextAreaEdit(JTextArea j1)