Hi All,
I'm trying to configure an edit field where the user can enter an IP address. I thought the IpTextFilter would do the job:
Code:
ipField = new BasicEditField( "IP Address: ",
(String) data.get( Options.KEY_IP_SERVER_ADDRESS ) );
ipField.setMaxSize( 15 );
ipField.setFilter( new IPTextFilter() );
screen.add( ipField );
but it seems the filter has no effect! You can type whatever characters you want into the edit field. Have I missed something?
Thanks, Ben