Bug 279917 SWT Editor Example does not work RC3
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/TextEditor.java
static final String[] FONT_SIZES = new String[] {
			"6",		
			"8", 		
			"9", 		
			"10", 		
			"11", 		
			"12",	 	
			"14",		
			"24",		
			"36",		
			"48" 		
	};
	
	static final ResourceBundle resources = ResourceBundle.getBundle("examples_texteditor");  
	static String getResourceString(String key) {
		try {
			return resources.getString(key);
		} catch (MissingResourceException e) {
			return key;
		} catch (NullPointerException e) {
			return "!" + key + "!";  
		}
	}
	
	public static void main(String[] args) {
		Display display = new Display();
		TextEditor editor = new TextEditor(display);
		Shell shell = editor.shell;
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())