j.setPreferredSize(d);
j.setMinimumSize(d);
j.setMaximumSize(d);
sectionBox.add(j);
if (sd[i].ml != null)
j.addMouseListener(sd[i].ml);
// setup the hide button panel to have same background and height as first section
if (i == 0) {
hideButtonPanel.setBackground(sd[0].sectionBG);
hideButtonPanel.add(hideButton, BorderLayout.CENTER);