The class LabelField has a method -
public void setPadding(int, int, int, int);
If I create a class that extends LabelField overriding setPadding like so -
public class CustomPadding extends LabelField {
public void setPadding(int, int, int, int){
super.setpadding(5,5,5,5);
}
}
Every time I create an instance of CustomPadding shouldn't my custom setPadding method be called ?
Currently it is not, I'm not sure why ?