private void jcb_tip_koloneActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jcb_tip_koloneActionPerformed
    {//GEN-HEADEREND:event_jcb_tip_koloneActionPerformed
        DBTypes val = (DBTypes) jcb_tip_kolone.getSelectedItem();
        int num_arg = val.num_of_arguments();
        if (num_arg == 0)
        {
            jtf_M.setEnabled(false);
            jtf_M.setText("");
            jtf_N.setEnabled(false);
            jtf_N.setText("");
        } else if (num_arg == 1)
        {
            jtf_M.setEnabled(true);
            jtf_M.setText("");
            jtf_N.setEnabled(false);
            jtf_N.setText("");
        } else if (num_arg == 2)
        {
            jtf_M.setEnabled(true);
            jtf_M.setText("");
            jtf_N.setEnabled(true);
            jtf_N.setText("");
        }
    }//GEN-LAST:event_jcb_tip_koloneActionPerformed