private void jb_createActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jb_createActionPerformed
    {//GEN-HEADEREND:event_jb_createActionPerformed
        int error=0;
        String name = jtf_ime.getText();
        
        if(name ==null || (name != null && name.length()==0))
        {
            error++;
        }
        
        if(jl_model.getSize()==0)
        {
            error++;
        }
        
        if(error==0)
        {
            jl_error_message.setText("");
            db_table = new DBTable(name);
            int num = jl_model.getSize();
            for(int i =0;i<num;i++)
            {
                db_table.addColumn(jl_model.getElementAt(i));
            }
            ok = true;
            setVisible(false);
                    
        } 
        else
        {
            jl_error_message.setText("Greska "+error);
            ok = false;
        }
    }//GEN-LAST:event_jb_createActionPerformed