public void render() {
		BufferStrategy bs = getBufferStrategy();
		if (bs == null) {
			createBufferStrategy(3);
			return;
		}

		clear();
		draw();

		Graphics g = bs.getDrawGraphics();
		g.setColor(Color.BLACK);
		g.fillRect(0, 0, getWidth(), getHeight());
		if (getWidth() / getHeight() > width / height) {
			g.drawImage(screenImage,
					(getWidth() - getHeight() * width / height) / 2, 0,
					getHeight() * width / height, getHeight(), null);
		} else {
			g.drawImage(screenImage, 0, (getHeight() - getWidth() / width
					* height) / 2, getWidth(), getWidth() / width * height,
					null);
		}
		g.drawImage(soundIcon, soundBox.x, soundBox.y, soundBox.width, soundBox.height, null);
		if (!Sound.SOUND_ON)
			g.drawImage(redX, soundBox.x, soundBox.y, soundBox.width, soundBox.height, null);
		g.drawImage(musicIcon, musicBox.x, musicBox.y, musicBox.width, musicBox.height, null);
		if (!Sound.MUSIC_ON)
			g.drawImage(redX, musicBox.x, musicBox.y, musicBox.width, musicBox.height, null);
		g.dispose();
		bs.show();
	}