* The Background colour.
* @return The created <code>Panel</code>
*/
public static Panel newPanel(String name, int frameWeight, String caption,
Color bc) {
Panel gf = newPanel(name);
FrameWeight.set(gf, frameWeight);
Caption.set(gf, caption);
gf.setOpaque(true);
gf.setBackground(null);
// TF:21/8/07:When we add components to the panel we have to cater for
// the border offsets. However,
// because this component isn't always created on the GUI thread the
// border may not be set prior to
// us adding the components because it's in the pending action queue.