List of usage examples for javax.swing.text JTextComponent getName
public String getName()
From source file:org.rockyroadshub.planner.core.gui.calendar.FormPane.java
private static boolean isEmpty(JTextComponent comp) { boolean b = StringUtils.isBlank(comp.getText()); if (b) {// ww w. jav a2s .c o m MainFrame.showErrorDialog(comp.getName() + " is empty."); } return b; }