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
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