private static void play(final String filename) {
		URL url = null;
		url = MessageBox.class.getResource(filename);
		if (url == null) {
			try {
				final File file = new File(filename);
				if (file.canRead())
					url = file.toURI().toURL();
			} catch (final IllegalArgumentException iae) {
				// URL is not absolute.
			} catch (final MalformedURLException murle) {
				// Not a URL.
			}
		}
		if (url == null) {
			System.err.println("Audio file " + filename + " not found.");
			return;
		}
		final AudioClip clip = Applet.newAudioClip(url);
		clip.play();
	}