I want to check if the input entered to my JTextField1
equal to shown sample picture below, how to do that?
I can only check if numbers entered by putting below code in to try block and catch NumberFormatException
try {
taxratio = new BigDecimal(jTextField1.getText()); }
}
catch (NumberFormatException nfe) {
System.out.println("Error" + nfe.getMessage());
}