code: private void btDetailsActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_btDetailsActionPerformed
    {//GEN-HEADEREND:event_btDetailsActionPerformed
  
      spDetails.setVisible(btDetails.isSelected());
      pack();
      validate();
    }
docs: </editor-fold>//GEN-END:initComponents