private void btCopyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btCopyActionPerformed
if (tabContractList.getSelectedRowCount() > 0) {
try {
ContractLocal cl = contractList.get(tabContractList.getSelectedRowSorted());
cl = cl.copy();
PanelContractInfo panel = new PanelContractInfo(getContainer(), cl);
PageGeneric page = getContainer().addNewPage(panel, this);
getContainer().activatePage(page);
} catch (ClipsException ex) {
MessageBox.showException(ex);