I'm creating a smartcard application using OCF and a Gem SM1 smart mouse
card reader.

All has been working fine using:
    CardTerminalRegistry.getRegistry().addCTListener(this)
to listen for card inserted/removed events.

This however, does not recognise if a card is already inserted, so I want to
use:

EventGenerator.getGenerator().addCTListener(this);

This causes the following error:

Exception in thread "main" java.lang.NoSuchMethodError:
opencard.core.terminal.CardTerminalRegistry:
method setObserver(Lopencard/core/terminal/Observer;)V not found at
opencard.core.event.EventGenerator.getGenerator(EventGenerator.java:101)
        at WorldCardOCF.<init>(WorldCardOCF.java:100)
        at Demo2.<init>(Demo2.java:45)
        at Demo2.main(Demo2.java:347)

Is additional support required in the terminal classes for this card reader?

Many thanks

Tony Brook
[EMAIL PROTECTED]

Future theFuture = new Future(new String("Java"), this);
www.totally.co.uk




---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to