Bug 20181 TVT2: Mnemonic doesn't work in Java Editor prefs
Japanese TVT tester found a non-functional mnemonic in Preferences>Java>Editor on the Syntax tab. Pressing Alt+B doesn't activate the bold checkbox. Build F2 NL fragments generated on 6/11 Window>Preferences Select Java Select Editor Click on Syntax tab press Alt+B... checkbox does not work.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
int value= Integer.parseInt(number);
				if (value < 0)
					status.setError(JavaUIMessages.getFormattedString("JavaEditorPreferencePage.invalid_input", number)); 
			} catch (NumberFormatException e) {
				status.setError(JavaUIMessages.getFormattedString("JavaEditorPreferencePage.invalid_input", number)); 
			}
		}
		return status;
	}
	
	private void updateStatus(IStatus status) {
		if (!status.matches(IStatus.ERROR)) {
			for (int i= 0; i < fNumberFields.size(); i++) {
				Text text= (Text) fNumberFields.get(i);
				IStatus s= validatePositiveNumber(text.getText());
				status= StatusUtil.getMoreSevere(s, status);
			}
		}	
		setValid(!status.matches(IStatus.ERROR));
		StatusUtil.applyToStatusLine(this, status);
	}
	public static boolean showTempProblems() {
		return JavaPlugin.getDefault().getPreferenceStore().getBoolean(JavaEditorPreferencePage.PREF_SHOW_TEMP_PROBLEMS);
	}
	
	static public boolean synchronizeOutlineOnCursorMove() {
		return JavaPlugin.getDefault().getPreferenceStore().getBoolean(PREF_SYNC_OUTLINE_ON_CURSOR_MOVE);
	}
}