問題が発生しているコードのスニペットは次のとおりです。
int inputIsInt = Integer.valueOf(JTextFieldName.getText());
String format = NumberFormat.getInstance().format(inputIsInt);
boolean isSame = format.equals(JTextFieldName.getText());
if (isSame == true) {...