Lastest version for the NumbPad java code