setPreferredSize(new Dimension(prefWidth, prefHeight));
fadeStop = (float) (About.IMAGE_HEIGHT / 4.0);
colorBase = new Color[] {
new Color(143, 0, 0),
new Color(48, 0, 96),
new Color(48, 0, 96),
};
font = new Font[] {
new Font("Sans Serif", Font.ITALIC, 20),
new Font("Sans Serif", Font.BOLD, 24),
new Font("Sans Serif", Font.BOLD, 18),
};
paintSteady = new Paint[colorBase.length];
for (int i = 0; i < colorBase.length; i++) {
Color hue = colorBase[i];
paintSteady[i] = new GradientPaint(0.0f, 0.0f, derive(hue, 0),
0.0f, fadeStop, hue);
}
URL url = AboutCredits.class.getClassLoader().getResource(HENDRIX_PATH);