A JavaFX control for entering and validating international phone numbers, backed by Google's libphonenumber.
PhoneNumberFX — international number input
Supports phone number formats for every country in the world.
Validates numbers on-the-fly using Google's libphonenumber library.
Shows the country flag and dialling code prefix inside the text field.
Optionally formats the number when focus is lost or Enter is pressed.
A companion label control that formats stored numbers in national or international format.
Displays numbers from the home country in national format; others with country code.
Add the dependency to your project: