Добавить
Уведомления

Java GUI BMI Calculator Data Validation Part 1

This is a continuation of my series on creating a Java GUI BMI Calculator with Window Builder. In these next two videos, I cover data validation. In this one, I cover how to make sure fields are not empty and how to ensure that the user enters a number in a JTextField. I also write a function that uses a try-catch block to determine whether a string is a number or not. Thanks to http://www.edu4java.com/en/swing/swing2.html for the isNumber() method code. Next: Java GUI BMI Calculator Data Validation Part 2 https://youtu.be/Ro-SctLal7Q

Иконка канала Java Гуру
2 подписчика
12+
14 просмотров
2 года назад
5 декабря 2023 г.
12+
14 просмотров
2 года назад
5 декабря 2023 г.

This is a continuation of my series on creating a Java GUI BMI Calculator with Window Builder. In these next two videos, I cover data validation. In this one, I cover how to make sure fields are not empty and how to ensure that the user enters a number in a JTextField. I also write a function that uses a try-catch block to determine whether a string is a number or not. Thanks to http://www.edu4java.com/en/swing/swing2.html for the isNumber() method code. Next: Java GUI BMI Calculator Data Validation Part 2 https://youtu.be/Ro-SctLal7Q

, чтобы оставлять комментарии