a series of questions regarding ffv sdk

General information about Neurotechnology and its software

a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 06, 2009 07:38

i have only a little of programming knowledge, and i were give an assignment, which is to build a program with fingerprint security technology embedded, i have browsed through the documentation of FFV, but there are a few questions that have become and obstacles to me in carrying on my assignment... My questions are listed below, and i need to get the answer in urgent, if someone could provide some useful information to me, i will appreciate it very much..

What is java wrapper? does it have anything to do with dynamic link libraries? Is ddl different with common library that we use? Is there something i have to do, to activate java wrapper or anything... Fingerprint scanner is not used in my assignment, all i need to do, is to randomly choose a fingerprint image, that can be found on internet or elsewhere. and then i have to convert the image that i have found into the template i store it into database.... so i hope someone can provide me a few lines of sample java codes that helps in the implementation of this... thanks
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 06, 2009 09:54

Hello,

Free Finger Verification SDK can not be considered to be used with fingerprint images. Documentation of this SDK have a list of limitations, such as only Neurotechnology proprietary database usage, only 10 fingerprints enrollment, no possibility to use a image with fingerprint and others. If you need to use your own database, extract templates from fingerprint images, then consider VeriFinger SDK usage.

Java wrapper is used to wrap a function of dlls which are developed using C language. Java do not enables to call functions from C dll directly. To be able to use these dlls with Java it is needed to create a wrapper.

Each our SDK provides samples and tutorials how to use it.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 06, 2009 11:10

how to set up a "neurotechnology proprietary database" as what u mentioned? does it mean that verifinger provides methods to extract images to templates directly without the need of capture image from the fingerprint reader/scanner?
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 06, 2009 11:25

Hi,

you do not need to setup the database, if you are saving just templates. FFV engine have a list of templates and saves it in its own format. If you need to store any other additional information you can arrange of saving of it by yourself or as it is done in samples provided with FFV SDK.

VeriFinger SDK:

This SDK provides a possibility to extract templates form the fingerprint images, even if they were saved as files (i.e. if you got allready scanned fingerprints in files).
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 06, 2009 11:40

can u provide me other documentation (user guide) than the ordinary documentation that came with ffv sdk.... it sounded like i need more knowledge in completing my assignment... anyway, thanks for the information provided..
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 06, 2009 11:46

Martynas wrote:Hi,

you do not need to setup the database, if you are saving just templates. FFV engine have a list of templates and saves it in its own format. If you need to store any other additional information you can arrange of saving of it by yourself or as it is done in samples provided with FFV SDK.

VeriFinger SDK:

This SDK provides a possibility to extract templates form the fingerprint images, even if they were saved as files (i.e. if you got allready scanned fingerprints in files).

meaning that the sample provided with ffv sdk is using ffv proprietary database, or self-customized database? as what u have mentioned, i can store additional information by arranging "ffv proprietary database?"....
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 06, 2009 11:54

Hi,

if you will analyze samples you will see that each sample of FFV SDK is using its own database for templates saving and separate file which conatins additional data of enrolled templates, i.e. user name and etc.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 06, 2009 14:10

just downloaded verifinger , i read documentation, but there are no guidelines for vb or java programming language.... I expected the documentation would look like the documentation of ffv....i am still indecision between vb or java as the programming language used for the application that i am going to develop... i hope u can send me the guidelines regarding to the classes and methods available for java and vb coding, my email is liewhw1@hotmail.com, thanks
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 06, 2009 14:13

Hi,

there is no available API refrerence for VB6 or JAVA in SDK. You can consider C/C++ API reference usage.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 12, 2009 14:58

i got this error when i extracting the fingerprint image.."One of Neurotec modules is not activated
" how to get rid of this problem, pls help, thx
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 13, 2009 07:45

Are you using VeriFinger SDK? Please generate diagnostic using Activation Wizard and send it to support@neurotechnology.com.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 13, 2009 14:31

yes using verifinger, how to generate this? sorry i am newbie, pls show me the way to do this thanks..
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 13, 2009 14:37

Hi,

go to folder Activation, which is in SDK and run ActivationWizard. Run it and find the button 'Diagnostic'.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 13, 2009 15:22

i have sent... pls check inbox, thanks
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 16, 2009 14:58

martynas, what is the step after sending email? i need to solve this urgently, thanks
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 16, 2009 15:12

Hi,

we have not received your email. Did you send it from your email address, which were used in this forum? Maybe you can try to send email once again: support@neurotechnology.com
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 16, 2009 17:00

done!!! the previous email sent to a wrong address..thanks anyway
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 17, 2009 09:41

i have start my licensing service by clicking the "start button", and i have restarted my pc after i have disable my firewall, it occurred the same problem "One of Neurotec modules is not activated"??? when i clicked on extract button, the following are my source code using netbeans...

Code: Select all
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * featureInter.java
 *
 * Created on Nov 12, 2009, 8:42:27 PM
 */

/**
 *
 * @author Heng Wai
 */
import com.neurotechnology.Library.NativeManager;
import com.neurotechnology.NLicensing.NLicensing;
import com.neurotechnology.NLicensing.LicensingConfig;
public class featureInter extends javax.swing.JFrame {
FeaturesExt fe=new FeaturesExt();
    /** Creates new form featureInter */
    public featureInter() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {

        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jButton1.setText("Open Image");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jButton2.setText("Extract");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jButton3.setText("Save");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jButton1)
                .addGap(38, 38, 38)
                .addComponent(jButton2)
                .addGap(31, 31, 31)
                .addComponent(jButton3)
                .addContainerGap(106, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton1)
                    .addComponent(jButton2)
                    .addComponent(jButton3))
                .addContainerGap(266, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>                       

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.fopen();
    }                                       

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.extract();
    }                                       

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.fsave();
    }                                       

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new featureInter().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify                     
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    // End of variables declaration                   

}
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 17, 2009 09:48

Hi,

You have not obtainned the license in your code. Refer to documentation or Java samples and tutorials to see how the NLIcenseObtain and NLicenseRelease are used.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 17, 2009 10:08

Code: Select all
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;

import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JOptionPane;

import com.neurotechnology.Library.NativeManager;
import com.neurotechnology.NLicensing.NLicensing;
import com.neurotechnology.NLicensing.LicensingConfig;

public class Window extends JFrame implements ActionListener {

   private static final long serialVersionUID = 1L;

   JLabel srcPic;
   JLabel binPic;

   JButton fopen;
   JButton extract;
   JButton parameters;
   JButton fsave;

   FeaturesExtraction fe;

   Window() {
      fe = new FeaturesExtraction();
      this.setTitle("Features extraction from image");
      this.setSize(460, 410);
      this.setDefaultCloseOperation(EXIT_ON_CLOSE);

      srcPic = new JLabel();
      binPic = new JLabel();

      fopen = new JButton("Open file");
      extract = new JButton("Extract");
      parameters = new JButton("Parameters");
      fsave = new JButton("Save");

      fopen.addActionListener(this);
      extract.addActionListener(this);
      parameters.addActionListener(this);
      fsave.addActionListener(this);

      JPanel mainPanel = new JPanel();
      JPanel imgpanel = new JPanel();
      JPanel buttonpan = new JPanel();

      buttonpan.setLayout(new GridLayout(1, 4));
      buttonpan.add(fopen);
      buttonpan.add(extract);
      buttonpan.add(parameters);
      buttonpan.add(fsave);
      buttonpan.setPreferredSize(new Dimension(200, 40));
      buttonpan.setMaximumSize(new Dimension(600, 80));

      imgpanel.setLayout(new GridLayout(1, 2));
      imgpanel.add(srcPic);
      imgpanel.add(binPic);
      imgpanel.setPreferredSize(new Dimension(400, 400));

      mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));
      mainPanel.add(imgpanel);
      mainPanel.add(buttonpan);
      this.setContentPane(mainPanel);
      addWindowListener(new java.awt.event.WindowAdapter() {
         public void windowClosing(WindowEvent winEvt) {
            LicensingConfig licConfig = LicensingConfig.getInstance();
            String licensesString = licConfig.getLicenseString("FingersExtractor");
            NLicensing.licenseRelease(licensesString);
            System.exit(0);
         }
      });
      this.setVisible(true);
   }

   public void actionPerformed(ActionEvent arg0) {
      if (arg0.getSource() == fopen) {
         srcPic.setIcon(fe.fopen());
      }
      if (arg0.getSource() == extract) {
         binPic.setIcon(fe.extract());
      }
      if (arg0.getSource() == parameters)
         fe.extractorParameters();
      if (arg0.getSource() == fsave)
         fe.fsave();
   }

   public static void main(String[] args) {
      try {
         LicensingConfig licConfig = LicensingConfig.getInstance();
         String licensesString = licConfig.getLicenseString("FingersExtractor");
         if (NLicensing.licenseObtain(licConfig.getServerIP(), licConfig.getServerPort(), licensesString)) {
            new Window();
         } else {
            JOptionPane.showMessageDialog(null, "Unable to obtain the following licenses: " + licensesString,
                  "Failed to obtain required licenses", JOptionPane.ERROR_MESSAGE);
         }
      } catch (Exception exc) {
         System.out.println(exc.getMessage());
         exc.printStackTrace(System.err);
         System.exit(1);
      }
   }
}



this code also not working, no bug, when compiling just keep showing

"java.lang.NullPointerException: InputStream for Licensese.cfg is null
at com.neurotechnology.NLicensing.LicensingConfig.getInstance(LicensingConfig.java:67)
at com.neurotechnology.NLicensing.LicensingConfig.getInstance(LicensingConfig.java:58)
at Window.main(Window.java:99)
Java Result: 1"

this is the program from neurotechnology..
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 17, 2009 11:03

Hi,

replace NLicensing.licenseObtain(licConfig.getServerIP(), licConfig.getServerPort(), licensesString) in source with the NLicensing.licenseObtain("/local", "5000", "SingleComputerLicense:VFExtractor,SingleComputerLicense:VFMatcher"))
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 17, 2009 11:22

Code: Select all
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * featureInter.java
 *
 * Created on Nov 12, 2009, 8:42:27 PM
 */

/**
 *
 * @author Heng Wai
 */
import com.neurotechnology.Library.NativeManager;
import com.neurotechnology.NLicensing.NLicensing;
import com.neurotechnology.NLicensing.LicensingConfig;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import javax.swing.*;
public class featureInter extends javax.swing.JFrame {
FeaturesExt fe=new FeaturesExt();
    /** Creates new form featureInter */
    public featureInter() {
        initComponents();
        addWindowListener(new java.awt.event.WindowAdapter() {
         public void windowClosing(WindowEvent winEvt) {
            LicensingConfig licConfig = LicensingConfig.getInstance();
            String licensesString = licConfig.getLicenseString("SingleComputerLicense:VFExtractor,SingleComputerLicense:VFMatcher");
            NLicensing.licenseRelease(licensesString);
            System.exit(0);
         }
      });
      this.setVisible(true);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {

        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jButton1.setText("Open Image");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jButton2.setText("Extract");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jButton3.setText("Save");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jButton1)
                .addGap(38, 38, 38)
                .addComponent(jButton2)
                .addGap(31, 31, 31)
                .addComponent(jButton3)
                .addContainerGap(106, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton1)
                    .addComponent(jButton2)
                    .addComponent(jButton3))
                .addContainerGap(266, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>                       

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.fopen();
    }                                       

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.extract();
    }                                       

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.fsave();
    }                                       

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
       try {
         LicensingConfig licConfig = LicensingConfig.getInstance();
         String licensesString = licConfig.getLicenseString("SingleComputerLicense:VFExtractor,SingleComputerLicense:VFMatcher");
         if (NLicensing.licenseObtain("/local", "5000", licensesString)) {
            new featureInter();
         } else {
            JOptionPane.showMessageDialog(null, "Unable to obtain the following licenses: " + licensesString,
                  "Failed to obtain required licenses", JOptionPane.ERROR_MESSAGE);
         }
      } catch (Exception exc) {
         System.out.println("cuba");
         exc.printStackTrace(System.err);
         System.exit(1);
      }
   }
   

    // Variables declaration - do not modify                     
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    // End of variables declaration                   

}


updated source code as follow, it does not solve.and it shows "unregistered", when i run pg.exe-install
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 17, 2009 11:28

pg.exe -install should be run only once. When it runs it shows two output strings: "unregistered" and later "registered". Check if Neurotechnology service is running in Control Panel -> Adm. Tools -> Service.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 17, 2009 11:31

the status there show 'started', so what will be the problem

my report as follow
Code: Select all
============ General Information ============

OS Version: Microsoft Windows XP Professional. Version 5.1 (Build 2600). Service Pack 2

System PATH variable: C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Program Files\Microsoft SQL Server\100\Tools\Binn;c:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files\Neurotechnology\VeriFinger 6.1\bin\Win32_x86;C:\Program Files\Neurotechnology\VeriFinger 6.1\bin\Win32_x86\FPSmm;;C:\Program Files\Neurotechnology\FFV SDK\bin\Win32_x86

Processor information:
Number of processors: 2

1 processor information:
Name: Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz
Max speed: 1662 Mhz
Architecture: x86

2 processor information:
Name: Intel(R) Core(TM)2 CPU         T5500  @ 1.66GHz
Max speed: 1662 Mhz
Architecture: x86

Memory information:
Size 1: 1073741824 (1024 Mb)
Size 2: 1073741824 (1024 Mb)
Total size: 2048 Mb

ActivationWizardDotNetTrial location: C:\Program Files\Neurotechnology\VeriFinger 6.1\bin\Win32_x86\Activation\

==============================================

============ Running license managers ============

Running licensing services:
Location: C:\Program Files\Neurotechnology\VeriFinger 6.1\bin\Win32_x86\Activation\pg.exe
    Created: 2009-10-28 13:32:30
    Company: Neurotechnology
    Version: 1. 1. 0. 49897
    Description: Neurotechnology activation service (Trial) 1.1
    Copyright: Copyright (C) 2005-2009 Neurotechnology

Configuration file (pgd.conf):
Mode = server

Licensing service log file (pgd.log):
2009-11-17 19:23:55 Starting PG (revision: 49897, mode: server, trial)
2009-11-17 19:23:55 PG started.

===================================================

============ IP information ============

Current IP addresses available on this computer:
   192.168.1.2
   192.168.1.5

Internet reported IP address:
   60.52.33.53

=========================================

============ Firewall information ============


Firewall status:
-------------------------------------------------------------------
Profile                           = Standard
Operational mode                  = Disable
Exception mode                    = Enable
Multicast/broadcast response mode = Enable
Notification mode                 = Enable
Group policy version              = None
Remote admin mode                 = Disable

Ports currently open on all network interfaces:
Port   Protocol  Version  Program
-------------------------------------------------------------------
1087   UDP       IPv4     C:\Program Files\PPStream\PPSAP.exe
14670  UDP       IPv4     C:\Program Files\PPStream\PPSAP.exe
19010  UDP       IPv4     C:\Program Files\PPStream\PPSAP.exe



===============================================

============ Installed runtimes ============

Installed runtimes:
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1833_x-ww_5ef082d6
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd
x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700

=============================================

============ NLicensing.cfg Information ============

NLicenses.cfg file information:

Path: C:\Program Files\Neurotechnology\VeriFinger 6.1\bin\Win32_x86\Activation\..\NLicenses.cfg

Original content:
Address = /local
Port = 5000
FingersExtractor = SingleComputerLicense:VFExtractor
FacesExtractor   =
IrisesExtractor  =
FingersMatcher   = SingleComputerLicense:VFMatcher
FacesMatcher     =
IrisesMatcher    =
FingersBSS       = SingleComputerLicense:VFBSS
FacesBSS         =
IrisesBSS        =
BioAPI = SingleComputerLicense:VFBSS
ProductLicense = SingleComputerLicense:VFExtractor,SingleComputerLicense:VFMatcher,SingleComputerLicense:VFBSS

Parsed content:
Address = /local
Port = 5000
ProductLicense = SingleComputerLicense:VFExtractor,SingleComputerLicense:VFMatcher,SingleComputerLicense:VFBSS

=====================================================

============ Trial Information ============

Proxy trial server test:
Welcome!
Your IP: 60.52.33.53
Time: 1258456784
Stamp: 366E4166

Trial server test: Welcome!
Your IP: 60.52.33.53
Time: 1258456784
Stamp: 366E4166

Trial server (sockets) test: Welcome!
Your IP: 60.52.33.53
Time: 1258456785
Stamp: 366E4166

Trial time left through proxy: Time left for trial products:
VFExtractor: about 4 week(s)
VFMatcher: about 4 week(s)
VFBSS: about 4 week(s)

Trial time left: VFExtractor: about 4 week(s)
VFMatcher: about 4 week(s)
VFBSS: about 4 week(s)


============================================

============ Product registration ============

Component info:
Microsoft .NET Framework: Ver 2.0.50727.3053
ActivationWizardDotNetTrial version: Ver 3.0.0.49897, Created: 2009-10-28 13:32:28

License obtain cycle:
Started obtain: 2009-11-17 19:32:03
License for SingleComputerLicense:VFExtractor is obtained: True
License for SingleComputerLicense:VFMatcher is obtained: True
License for SingleComputerLicense:VFBSS is obtained: True
Finished obtain: 2009-11-17 19:32:44

Component information for: C:\Program Files\Neurotechnology\VeriFinger 6.1\bin\Win32_x86\Activation\
            Neurotechnology Core 3.0: Ver 3.0.0.3, Managed: False, Created: 2009-11-6 21:48:08
            Neurotechnology Licensing 2.0: Ver 2.0.0.0, Managed: False, Created: 2009-11-6 21:48:08
            Neurotechnology License Manager 2.0: Ver 2.0.1.0, Managed: False, Created: 2009-11-6 21:48:08
            (Neurotec.dll): Ver , Managed: True, Created: 2009-11-06 21:48:08
            (Neurotec.LicenseManager.dll): Ver , Managed: True, Created: 2009-11-06 21:48:08
            (Neurotec.Licensing.dll): Ver , Managed: True, Created: 2009-11-06 21:48:08
            ActivationWizardDotNetTrial.exe
            ActivationWizardDotNetTrial.log
            ActivationWizardDotNetTrial.Settings.xml
            pg.exe
            pgd.conf

Component information for: C:\Program Files\Neurotechnology\VeriFinger 6.1\bin\Win32_x86
        Activation
                Neurotechnology Core 3.0: Ver 3.0.0.3, Managed: False, Created: 2009-11-6 21:48:08
                Neurotechnology Licensing 2.0: Ver 2.0.0.0, Managed: False, Created: 2009-11-6 21:48:08
                Neurotechnology License Manager 2.0: Ver 2.0.1.0, Managed: False, Created: 2009-11-6 21:48:08
                (Neurotec.dll): Ver , Managed: True, Created: 2009-11-06 21:48:08
                (Neurotec.LicenseManager.dll): Ver , Managed: True, Created: 2009-11-06 21:48:08
                (Neurotec.Licensing.dll): Ver , Managed: True, Created: 2009-11-06 21:48:08
                ActivationWizardDotNetTrial.exe
                ActivationWizardDotNetTrial.log
                ActivationWizardDotNetTrial.Settings.xml
                pg.exe
                pgd.conf
        FPSmm
            Additional
                    FPSmmAuthenTec2501.dll, Managed: False
                    FPSmmDermalogZF1.dll, Managed: False
                    FPSmmIdentixR.dll, Managed: False
                    FPSmmNitgen.dll, Managed: False
                    FPSmmSecuGenHFDU02.dll, Managed: False
                    FPSmmSecuGenHFDU03.dll, Managed: False
                    FPSmmSecuGenHFDU04.dll, Managed: False
                    FPSmmTSTBIRD.dll, Managed: False
            plugin
                    AlgoDvc.dll, Managed: False
                    IEngine_Plus.dll, Managed: False
                    PreProcV21_INT16.dll, Managed: False
                    VenusDvc.dll, Managed: False
            SPM
                    SPM_1.bin
                ATSC63.dll, Managed: False
                BVLSAPI.dll, Managed: False
                CaptureSDK.dll, Managed: False
                CertisExports.dll, Managed: False
                cmtfinger.dll, Managed: False
                DaktyImage.dll, Managed: False
                DermalogCalibrateSDK.dll, Managed: False
                DermalogLoggingFacility.dll, Managed: False
                DermalogPLS1.dll, Managed: False
                DermalogVC3.dll, Managed: False
                FingerChip.dll, Managed: False
                FingerPrinterDll.dll, Managed: False
                fm200api.dll, Managed: False
                fm200drv.dll, Managed: False
                fpd.dll, Managed: False
                fpdusb.dll, Managed: False
                FPSmmAtmel.dll, Managed: False
                FPSmmAuthentec.dll, Managed: False
                FPSmmBiometrika.dll, Managed: False
                FPSmmCertis.dll, Managed: False
                FPSmmCrossMatch.dll, Managed: False
                FPSmmCyte.dll, Managed: False
                FPSmmDactyScan.dll, Managed: False
                FPSmmDaktyFpd.dll, Managed: False
                FPSmmDigent.dll, Managed: False
                FPSmmEikon.dll, Managed: False
                FPSmmFM200.dll, Managed: False
                FPSmmFujitsu.dll, Managed: False
                FPSmmFutronic.dll, Managed: False
                FPSmmFutronicEthernetFam.dll, Managed: False
                FPSmmHongda.dll, Managed: False
                FPSmmJstac.dll, Managed: False
                FPSmmLighTunning.dll, Managed: False
                FPSmmLScanEssentials.dll, Managed: False
                FPSmmLumidigm.dll, Managed: False
                FPSmmRealScan.dll, Managed: False
                FPSmmSOP1.dll, Managed: False
                FPSmmSuprema.dll, Managed: False
                FPSmmSupremaSFR300R.dll, Managed: False
                FPSmmTacoma.dll, Managed: False
                FPSmmUareU.dll, Managed: False
                FPSmmUpek.dll, Managed: False
                FPSmmZKSensor6000.dll, Managed: False
                FSM26U.dll, Managed: False
                ftrScanAPI.dll, Managed: False
                fx3.dll, Managed: False
                fx3scan.dll, Managed: False
                GetImageC500.dll, Managed: False
                iaapi.dll, Managed: False
                Id3BiokeyDll.dll, Managed: False
                Itf32_2080U2.dll, Managed: False
                IZZIX.dll, Managed: False
                libusb0.dll, Managed: False
                LS_DeviceMonitor.dll, Managed: False
                LS_USB_Stub.dll, Managed: False
                LS_USB_Stub_100.dll, Managed: False
                LS_USB_Stub_Us.dll, Managed: False
                LS1394.dll, Managed: False
                LScanEssentials.dll, Managed: False
                LumiAPI.dll, Managed: False
                LumiCore.dll, Managed: False
                MSVCP71.DLL, Managed: False
                NBioBSP.dll, Managed: False
                RS_SDK.dll, Managed: False
                Segmentation.dll, Managed: False
                SMZ_API.dll, Managed: False
                SmzCmos1.dll, Managed: False
                sop1.dll, Managed: False
                TCIN.dll, Managed: False
                TSTBasic.dll, Managed: False
                UFScannerC.dll, Managed: False
                WIS_API.dll, Managed: False
                WisCmos2.dll, Managed: False
                ZFScanAPI.dll, Managed: False
                BVLSInfo.ini
                DermalogPLS1.cfg
                futronic.cfg
                LScanEssentials.ini
            Neurotechnology Core 3.0: Ver 3.0.0.3, Managed: False, Created: 2009-11-6 21:48:13
            Neurotechnology Device Manager 3.0, Protected: Ver 3.0.1.0, Managed: False, Created: 2009-11-6 21:48:13
                    NLibraryInfo Activated: Cameras: No, Fingerprint Scanners: Yes, Iris Cameras: No
            Neurotechnology Biometric Template Extractors 3.0, Protected: Ver 3.0.1.0, Managed: False, Created: 2009-11-6 21:48:14
                    NLibraryInfo Activated: Fingers: Yes, Faces Detection: No, Faces Extraction: No, Irises: No, Palms: No
            Neurotechnology Images 2.5: Ver 2.5.0.2, Managed: False, Created: 2009-11-6 21:48:14
                    NLibraryInfo Activated: WSQ: Yes, IHead: Yes, JPEG 2000: Yes, Lossless JPEG: Yes
            Neurotechnology Licensing 2.0: Ver 2.0.0.0, Managed: False, Created: 2009-11-6 21:48:14
            Neurotechnology Biometric Template Matchers 3.0, Protected: Ver 3.0.1.1, Managed: False, Created: 2009-11-6 21:48:14
                    NLibraryInfo Activated: Fusion: No, Fingers: Yes, Faces: No, Irises: No, Palms: No, Fingers Pro: No, Faces Pro: No, Irises Pro: No, Palms Pro: No
            Neurotechnology Biometric Templates 3.0: Ver 3.0.0.2, Managed: False, Created: 2009-11-6 21:48:14
            Neurotechnology Fingerprint Scanner Manager 1.0.COM, Debug: Ver 1.0.0.1, Managed: False, Created: 2009-11-6 21:48:13
            (Neurotec.Biometrics.Extractors.dll): Ver , Managed: True, Created: 2009-11-06 21:48:13
            (Neurotec.Biometrics.Gui.dll): Ver , Managed: True, Created: 2009-11-06 21:48:13
            (Neurotec.Biometrics.Matchers.dll): Ver , Managed: True, Created: 2009-11-06 21:48:14
            (Neurotec.Biometrics.Templates.dll): Ver , Managed: True, Created: 2009-11-06 21:48:14
            (Neurotec.DeviceManager.dll): Ver , Managed: True, Created: 2009-11-06 21:48:14
            (Neurotec.dll): Ver , Managed: True, Created: 2009-11-06 21:48:14
            (Neurotec.Gui.dll): Ver , Managed: True, Created: 2009-11-06 21:48:14
            (Neurotec.Images.dll): Ver , Managed: True, Created: 2009-11-06 21:48:14
            (Neurotec.Licensing.dll): Ver , Managed: True, Created: 2009-11-06 21:48:14
            (System.Data.SQLite.DLL): Ver , Managed: True, Created: 2009-11-06 21:48:14
            NeurotecJavaNative.dll, Managed: False
            CreateMultiFingerTemplateVB.exe
            CreateMultiFingerTemplateVB.pdb
            CreateMultiFingerTemplateVB.vshost.exe
            CreateMultiFingerTemplateVB.vshost.exe.manifest
            FingersEnrollFromImageVB.exe
            FingersEnrollFromImageVB.pdb
            FingersEnrollFromScannerVB.exe
            FingersEnrollFromScannerVB.pdb
            FingersGeneralizeVB.exe
            FingersGeneralizeVB.pdb
            FingersIdentifyVB.exe
            FingersIdentifyVB.pdb
            FingersSample.html
            FingersSample.jar
            FingersSampleCPP.exe
            FingersSampleMainMenuCS.exe
            FingersSampleMainMenuVB.exe
            FingersSamplePas.exe
            FingersVerifyVB.exe
            FingersVerifyVB.pdb
            NeurotecJava.jar
            NLicenses.cfg
            Register FPScannerManCom.bat
            sqlitejdbc-v037-nested.jar

Component information for: C:\Program Files\Neurotechnology\FFV SDK\bin\Win32_x86
        EN
                Neurotec.Biometrics.Nffv.XML
        fpsmm
            Additional
                    FPSmmAuthentec.dll, Managed: False
                    FPSmmIdentixR.dll, Managed: False
                    FPSmmNitgen.dll, Managed: False
                    FPSmmSecugenHFDU02.dll, Managed: False
                    FPSmmSecugenHFDU03.dll, Managed: False
                    FPSmmSecugenHFDU04.dll, Managed: False
                    FPSmmTSTBIRD.dll, Managed: False
            plugin
                    AlgoDvc.dll, Managed: False
                    IEngine_Plus.dll, Managed: False
                    PreProcV21_INT16.dll, Managed: False
                    VenusDvc.dll, Managed: False
            SPM
                    SPM_1.bin
                ATSC63.dll, Managed: False
                CaptureSDK.dll, Managed: False
                CertisExports.dll, Managed: False
                DaktyImage.dll, Managed: False
                DermalogCalibrateSDK.dll, Managed: False
                DermalogLoggingFacility.dll, Managed: False
                DermalogPLS1.dll, Managed: False
                DermalogVC3.dll, Managed: False
                FingerChip.dll, Managed: False
                FingerPrinterDll.dll, Managed: False
                fm200api.dll, Managed: False
                fm200drv.dll, Managed: False
                fpd.dll, Managed: False
                fpdusb.dll, Managed: False
                FPSmmAtmel.dll, Managed: False
                FPSmmAuthentec2501.dll, Managed: False
                FPSmmBiometrika.dll, Managed: False
                FPSmmCertis.dll, Managed: False
                FPSmmCrossMatch.dll, Managed: False
                FPSmmCyte.dll, Managed: False
                FPSmmDactyScan.dll, Managed: False
                FPSmmDaktyFpd.dll, Managed: False
                FPSmmDermalogZF1.dll, Managed: False
                FPSmmDigent.dll, Managed: False
                FPSmmFM200.dll, Managed: False
                FPSmmFujitsu.dll, Managed: False
                FPSmmFutronic.dll, Managed: False
                FPSmmFutronicEthernetFam.dll, Managed: False
                FPSmmHongda.dll, Managed: False
                FPSmmJstac.dll, Managed: False
                FPSmmLighTunning.dll, Managed: False
                FPSmmLumidigm.dll, Managed: False
                FPSmmTacoma.dll, Managed: False
                FPSmmUareU.dll, Managed: False
                FPSmmUpek.dll, Managed: False
                FPSmmZKSensor6000.dll, Managed: False
                FSM26U.dll, Managed: False
                ftrScanAPI.dll, Managed: False
                fx3.dll, Managed: False
                fx3scan.dll, Managed: False
                GALS0410.dll, Managed: False
                GetImageC500.dll, Managed: False
                Id3BiokeyDll.dll, Managed: False
                Itf32_2080U2.dll, Managed: False
                IZZIX.dll, Managed: False
                libusb0.dll, Managed: False
                LumiAPI.dll, Managed: False
                LumiCore.dll, Managed: False
                NBioBSP.dll, Managed: False
                Segmentation.dll, Managed: False
                SMZ_API.dll, Managed: False
                SmzCmos1.dll, Managed: False
                TCIN.dll, Managed: False
                TSTBasic.dll, Managed: False
                WIS_API.dll, Managed: False
                WisCmos2.dll, Managed: False
                ZFScanAPI.dll, Managed: False
                DermalogPLS1.cfg
            Neurotechnology Free Fingerprint Verification SDK 1.0: Ver 1.0.0.0, Managed: False, Created: 2009-10-31 21:13:25
                    NLibraryInfo Activated: ͒淔礰
            (Neurotec.Biometrics.Nffv.dll): Ver , Managed: True, Created: 2009-10-31 21:13:25
            NffvJavaNative.dll, Managed: False
            CppSample.exe
            CSharpSample.exe
            DelphiSample.exe
            Nffv.jar
            NffvSample.html
            NffvSample.jar
            NffvServer.exe
            VB6Sample.exe
            VBNETSample.exe


===============================================

============ FPSmm Information ============

FPScannerManCom: FPSmm folder not found. (not installed)

FPSmm folder near Activation folder:
   Contents of additional folder:
      FPSmmAuthenTec2501.dll
      FPSmmDermalogZF1.dll
      FPSmmIdentixR.dll
      FPSmmNitgen.dll
      FPSmmSecuGenHFDU02.dll
      FPSmmSecuGenHFDU03.dll
      FPSmmSecuGenHFDU04.dll
      FPSmmTSTBIRD.dll
   ATSC63.dll
   BVLSAPI.dll
   BVLSInfo.ini
   CaptureSDK.dll
   CertisExports.dll
   cmtfinger.dll
   DaktyImage.dll
   DermalogCalibrateSDK.dll
   DermalogLoggingFacility.dll
   DermalogPLS1.cfg
   DermalogPLS1.dll
   DermalogVC3.dll
   FingerChip.dll
   FingerPrinterDll.dll
   fm200api.dll
   fm200drv.dll
   fpd.dll
   fpdusb.dll
   FPSmmAtmel.dll
   FPSmmAuthentec.dll
   FPSmmBiometrika.dll
   FPSmmCertis.dll
   FPSmmCrossMatch.dll
   FPSmmCyte.dll
   FPSmmDactyScan.dll
   FPSmmDaktyFpd.dll
   FPSmmDigent.dll
   FPSmmEikon.dll
   FPSmmFM200.dll
   FPSmmFujitsu.dll
   FPSmmFutronic.dll
   FPSmmFutronicEthernetFam.dll
   FPSmmHongda.dll
   FPSmmJstac.dll
   FPSmmLighTunning.dll
   FPSmmLScanEssentials.dll
   FPSmmLumidigm.dll
   FPSmmRealScan.dll
   FPSmmSOP1.dll
   FPSmmSuprema.dll
   FPSmmSupremaSFR300R.dll
   FPSmmTacoma.dll
   FPSmmUareU.dll
   FPSmmUpek.dll
   FPSmmZKSensor6000.dll
   FSM26U.dll
   ftrScanAPI.dll
   futronic.cfg
   fx3.dll
   fx3scan.dll
   GetImageC500.dll
   iaapi.dll
   Id3BiokeyDll.dll
   Itf32_2080U2.dll
   IZZIX.dll
   libusb0.dll
   LS1394.dll
   LScanEssentials.dll
   LScanEssentials.ini
   LS_DeviceMonitor.dll
   LS_USB_Stub.dll
   LS_USB_Stub_100.dll
   LS_USB_Stub_Us.dll
   LumiAPI.dll
   LumiCore.dll
   MSVCP71.DLL
   NBioBSP.dll
   RS_SDK.dll
   Segmentation.dll
   SmzCmos1.dll
   SMZ_API.dll
   sop1.dll
   TCIN.dll
   TSTBasic.dll
   UFScannerC.dll
   WisCmos2.dll
   WIS_API.dll
   ZFScanAPI.dll

Directories in FPSmm folder:
   Additional
   plugin
   SPM

============================================

============ Log Information ============

2009-11-13 23:17:38 - Diagnostics generation started.
2009-11-13 23:18:15 - Diagnostics was generated.
2009-11-13 23:19:16 - File saved. Please email this file to Neurotechnology or your distributor.
2009-11-17 18:21:46 - Diagnostics generation started.
2009-11-17 18:22:26 - Diagnostics was generated.
2009-11-17 18:32:42 - Diagnostics generation started.
2009-11-17 18:33:18 - Diagnostics was generated.
2009-11-17 18:33:36 - File saved. Please email this file to Neurotechnology or your distributor.
2009-11-17 18:49:52 - Diagnostics generation started.
2009-11-17 18:50:57 - Diagnostics was generated.
2009-11-17 18:51:10 - File saved. Please email this file to Neurotechnology or your distributor.
2009-11-17 18:54:47 - Proxy address is not valid!
2009-11-17 18:55:09 - Proxy address is not valid!
2009-11-17 18:55:40 - Proxy address is not valid!
2009-11-17 18:55:43 - Proxy address is not valid!
2009-11-17 18:56:23 - In order to apply the changes, please restart the Neurotechnology service!
2009-11-17 19:31:58 - Diagnostics generation started.
2009-11-17 19:32:53 - Diagnostics was generated.

==========================================

jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59

Re: a series of questions regarding ffv sdk

Postby Martynas » Nov 17, 2009 12:40

Hi,

i have asked you to replace NLicensing.licenseObtain(licConfig.getServerIP(), licConfig.getServerPort(), licensesString) in source with the NLicensing.licenseObtain("/local", "5000", "SingleComputerLicense:VFExtractor,SingleComputerLicense:VFMatcher"). Is it possible for you to do this? As I can see from your source code you have not done this.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2205
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: a series of questions regarding ffv sdk

Postby jaylhw1 » Nov 17, 2009 12:57

Code: Select all
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * featureInter.java
 *
 * Created on Nov 12, 2009, 8:42:27 PM
 */

/**
 *
 * @author Heng Wai
 */
import com.neurotechnology.Library.NativeManager;
import com.neurotechnology.NLicensing.NLicensing;
import com.neurotechnology.NLicensing.LicensingConfig;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import javax.swing.*;
public class featureInter extends javax.swing.JFrame {
FeaturesExt fe=new FeaturesExt();
    /** Creates new form featureInter */
    public featureInter() {
        initComponents();
        addWindowListener(new java.awt.event.WindowAdapter() {
         public void windowClosing(WindowEvent winEvt) {
            LicensingConfig licConfig = LicensingConfig.getInstance();
            String licensesString = licConfig.getLicenseString("SingleComputerLicense:VFExtractor,SingleComputerLicense:VMatcher");
            NLicensing.licenseRelease(licensesString);
            System.exit(0);
         }
      });
      this.setVisible(true);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {

        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jButton1.setText("Open Image");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jButton2.setText("Extract");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jButton3.setText("Save");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jButton1)
                .addGap(38, 38, 38)
                .addComponent(jButton2)
                .addGap(31, 31, 31)
                .addComponent(jButton3)
                .addContainerGap(106, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton1)
                    .addComponent(jButton2)
                    .addComponent(jButton3))
                .addContainerGap(266, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>                       

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.fopen();
    }                                       

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.extract();
    }                                       

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:
        fe.fsave();
    }                                       

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
       try {
         LicensingConfig licConfig = LicensingConfig.getInstance();
         String licensesString = licConfig.getLicenseString("SingleComputerLicense:VFExtractor,SingleComputerLicense:VFMatcher");
         if (NLicensing.licenseObtain("/local", "5000", "SingleComputerLicense:VFExtractor,SingleComputerLicense:VFMatcher")){
            new featureInter();
         } else {
            JOptionPane.showMessageDialog(null, "Unable to obtain the following licenses: " + licensesString,
                  "Failed to obtain required licenses", JOptionPane.ERROR_MESSAGE);
         }
      } catch (Exception exc) {
         System.out.println("cuba");
         exc.printStackTrace(System.err);
         System.exit(1);
      }
   }
   

    // Variables declaration - do not modify                     
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    // End of variables declaration                   

}


how come u said i have not done it, did u mean the obtain function within the IF? i have changed
jaylhw1
 
Posts: 17
Joined: Nov 06, 2009 06:59


Return to Public

Who is online

Users browsing this forum: Bing [Bot] and 4 guests