Blame view

src/mior/view/IntegerVerifier.java 316 Bytes
89f70c1ec   glaville   import current mc...
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;
  	}
  
  }