dialog.setTitle("Run"); dialog.setMessage("Choose the package in which code is run");
dialog.setTitle(JavaPlugin.getResourceString(PREFIX + "dialog.title")); dialog.setMessage(JavaPlugin.getResourceString(PREFIX + "dialog.message"));
	private IPackageFragment choosePackage(Shell shell) {		try {			IJavaProject p= fEditor.getJavaProject();			//fix for 1G472LK: ITPJUI:WIN2000 - Package selection dialog must qualify package names regarding source folders			SelectionDialog dialog= JavaUI.createPackageDialog(shell, p, IJavaElementSearchConstants.CONSIDER_BINARIES);			dialog.setTitle("Run");			dialog.setMessage("Choose the package in which code is run");			String pkg= fEditor.getPackage();			if (pkg != null) {				dialog.setInitialSelections(new String[] {pkg});			}			dialog.open();					Object[] res= dialog.getResult();			if (res != null && res.length > 0) 				return (IPackageFragment)res[0];		} catch (JavaModelException e) {		}		return null;	}