background image Chris Johnson, Index
Fonts





public FontsWarning(String[] message, int n) {

        setBackground(Color.white);
        setForeground(Color.black);
 
        setLayout(new FlowLayout(FlowLayout.CENTER, horigap, vertigap));

        Font g = new Font ("Geneva", Font.PLAIN, 14); 
	/* access new font */
        setFont(g);                                   
	/* apply it to current frame */

        for (int i=0; n>i; i++)
                        add (new Label(message[i]));
}








forward