Blame view
src/mior/view/IntegerVerifier.java
316 Bytes
1b1e928cc initial import of... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
package mior.view; import javax.swing.InputVerifier; import javax.swing.JComponent; import javax.swing.JTextField; public class IntegerVerifier extends InputVerifier { @Override public boolean verify(JComponent input) { JTextField field = (JTextField) input; field.getText(); return false; } } |