Java Tutorial | Scanning through Inputs on a JTextField(Validation)

preview_player
Показать описание
In this tutorial I will be covering the aspects of making validation on a JTextField. I chosen the"@" Symbol to justify if an input is considered and email or not.

Sorry for the late tutorial I will be making more :). So thank you for your support, and if you want the code please inbox me. :).

ISMAILZD.
Рекомендации по теме
Комментарии
Автор

I do apologize for the low volume, I will fix that in my next set of tutorials :)>

ismailzd
Автор

good good thinking on how to validate loved the @@

amigoscode
Автор

great tutorial and your the first one i found who doesnt use the new JFrame thing to make a app, i hope you can show a way to get DIGIT only input

securityfalcondtch
Автор

looool looking how to use validate txtfield and u come up on google. Lol ur good

amigoscode
Автор

One thing:

If you are using textField.getText(), you don't need the .toString() at the end, since it's already the String you want and .toString() is only making a String out of a String and is therefore unnecessary. It won't hurt, but isn't needed.

It would just call the toString() method from String, which is the following:

public final class String

...

public String toString() {
    return this;
}

...

Qotsafan
Автор

Great video. I'm wondering if you know how to put an exception for if the user presses 'enter' without entering an email. Can you tell you user to enter an email. This is used for making sure all fields have an input before pressing 'enter'.

stefnic
Автор

Thanks dude :D> I should of use regex for this :P

ismailzd
Автор

Hey bro...how to give limitation on text field entry ....like on 10 digits should be entered...:)

mukeshsuthar
Автор

reason why you had to record at such a low volume?

koreanpeoples
welcome to shbcf.ru