Using add() and insert() should work, though you might need to call doLayout().



You must specify a suitable layout for all containers, you can't expect it to layout your components correctly...