I just want to do a textbox class only accepts integers..
I have done something, but ı think it's not enough.
Can anyone help me, please? Thanks...
import java.awt.TextField
public class textbox extends TextField{
private int value;
public textbox(){
super();
}
public textbox(int value){
setDeger(value);
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
}