Java JLabel getLabelValue(JLabel lbl)

Here you can find the source of getLabelValue(JLabel lbl)

Description

get Label Value

License

Open Source License

Declaration

protected static String getLabelValue(JLabel lbl) 

Method Source Code

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

import javax.swing.JLabel;

public class Main {
    protected static String getLabelValue(JLabel lbl) {
        String ret = lbl.getText().trim();
        if (!ret.equals("")) {
            return ret;
        }/*  w w w . j av  a  2s .c  o  m*/
        return null;
    }
}

Related

  1. clear(JLabel... fields)
  2. ensureCustomBackgroundStored(JLabel comp)
  3. exibeMensagemTemporaria(final JLabel lblMensagem, String mensagem)
  4. extendByIcon(JLabel label, Dimension dm)
  5. findMaxLabelWidth(JLabel... jLabels)
  6. getRoughStroke(final JLabel _jlbl_stroke)
  7. getStoredBackground(JLabel comp)
  8. getStroke(final JLabel _jlbl_stroke)
  9. getTimeWidth(JLabel label)