Panel p = new Panel();
p.setBackground(Color.orange); // The label "transparent" background will actually get this
// background colour
p.setLayout(null);
c = new Canvas();
c.setBackground(Color.black);
c.setBounds(0, 0, 1000, 900);
o1 = new Canvas();
o1.setBackground(Color.green);
o1.setBounds(100, 60, 200, 300);
o2 = new Canvas();
o2.setBackground(Color.red);
o2.setBounds(400, 200, 150, 150);
o3 = new Canvas();
o3.setBackground(Color.blue);
o3.setBounds(50, 500, 200, 200);
o4 = new Label("I am a label");
o4.setForeground(Color.red);