Swing12(){//constructor

    getContentPane().setLayout(
                                   new FlowLayout());
    label.setBackground(Color.yellow);
    label.setForeground(Color.blue);

Figure 3