final TextArea results = (TextArea)args.get(0);
final Main main = (Main)args.get(1);
Label llogin = new Label("Login: ");
TextField tflogin = new TextField();
tflogin.addEventHandler(KeyEvent.KEY_TYPED, new NameFilter());
tflogin.setPromptText("3-16 symbols");
Label lemail = new Label("Email: ");
TextField tfemail = new TextField();
tfemail.addEventHandler(KeyEvent.KEY_TYPED, new NameFilter());
tfemail.setPromptText("Required");
Label lpass = new Label("Password: ");
PasswordField tfpass = new PasswordField();
tfpass.addEventHandler(KeyEvent.KEY_TYPED, new NameFilter());
tfpass.setPromptText("Required");
Label lname = new Label("Name: ");
TextField tfname = new TextField();
tfname.setPromptText("Required");
tfname.addEventHandler(KeyEvent.KEY_TYPED, new NameFilter());
Label lcountry = new Label("Country: ");
ChoiceBox<String> cbcountry = new ChoiceBox<String>(
FXCollections.observableArrayList("Russia", "Spain", "USA",
"UK"));
Label llang = new Label("Language: ");