JPanel p = new JPanel();
p.setLayout(new BoxLayout(p,
horizontal
? BoxLayout.X_AXIS
: BoxLayout.Y_AXIS));
p.setLayout(new CompactLayout(horizontal));
if (getDescription() != null && isBordered()) {
p.setBorder(new TitledBorder(getDescription()));
addEnableButtons(p);
}
for (Node node = children; node != null; node = node.getNext()) {