How do you alter the appearance of a JLabel text? I want to change the color and font, according to other sites (search on the web) the following should work, but it doesn't even compile:
When I compile the message I get is: <identifier> expected on both the setFont and setForeground statements.
// set up row 1
Font bannerFont = new Font ("Serif", Font.BOLD, 48);
JPanel row1 = new JPanel();
JLabel bannerTF = new JLabel("Label Text Here");