As a starting point, this simple Flow Layout works:

//*****start applet code example1****
import java.awt.*;
import java.applet.*;
public class Layout extends Applet
{
Button okButton1;

public void init()
{
setLayout(new FlowLayout());

okButton1 = new Button("OneButton");

add(okButton1);
}
}

//******end applet code example 1****

But if I try to invoke create the Layout in a child, it does not work:

//******start code applet example 2****
import java.awt.*;
import java.applet.*;
public class Layout2 extends Applet
{

LayoutChild myChild;

public void init()
{
myChild = new LayoutChild();
}
}

public class LayoutChild extends Applet
{
Button okButton1;

public void init()
{

setLayout(new FlowLayout());

okButton1 = new Button("OneButton");

add(okButton1);
}
}

//******end code applet example 2****

I'm sure it is something simple. Anyone know? Thanks.