List of utility methods to do JTextField Value Get
String | getText(JTextField text) get Text return text.getText();
|
boolean | hasValue(JTextField... fields) has Value for (JTextField field : fields) { if (field.isEnabled() && !field.getText().isEmpty()) { return true; return false; |
boolean | largeThan(javax.swing.JTextField input, int x, Vector Check if the JTextField input is larger than x boolean ok = largeThan(input, x); if (!ok) errMsgList.add(errMsg); return ok; |