void () { try { int value = Integer.parseInt(myConsoleCycleBufferSizeField.getText().trim()); if (value <= 0) { myConsoleBufferSizeWarningLabel.setText(ApplicationBundle.message("checkbox.override.console.cycle.buffer.size.warning.unlimited")); return; } if (value > FileUtilRt.LARGE_FOR_CONTENT_LOADING / 1024) { myConsoleBufferSizeWarningLabel.setText(ApplicationBundle.message("checkbox.override.console.cycle.buffer.size.warning.too.large")); return; } } catch (NumberFormatException ignored) {} myConsoleBufferSizeWarningLabel.setText(""); }