The fact that the code runs when executed from an application but not when
executed from an applet may indicate that different classes are loaded.
Please check whether the same version of OCF as used by the application is
installed in the browser.

Best regards,

Thomas

Thomas Schaeck
Pervasive Computing Division - Extended e-business Solutions, EMEA
Phone: +49-(0)7031-16-3479   Mobile: +49-(0)171-6928407   e-mail:
[EMAIL PROTECTED]   Fax: +49-(0)7031-16-4888
Address: IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032
Boeblingen, Germany


"Ismael Blesa Part" <[EMAIL PROTECTED]> on 09.03.2000 12:47:18

Please respond to "Ismael Blesa Part" <[EMAIL PROTECTED]>

To:   "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc:    (bcc: Thomas Schaeck/Germany/IBM)
Subject:  [OCF]  OCF does not work in applets !! (Addendum)




Hello,
I am working with an applet that gets the smartcard via event
notification (cardInserted and cardRemoved methods).
When It runs  as application it works fine but when I try to run it as
applet I get the following error in the Java Plug-In console:
                    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 ParkingApplet.register(ParkingApplet.java:540)
                    at ParkingApplet.init(ParkingApplet.java:120)
                    at sun.applet.AppletPanel.run(Compiled Code)
                    at java.lang.Thread.run(Thread.java:479)

 when doing the event registration.

The code I am using is the proposed on the OCF 1.2 documentation.

Does anybody know something about this error?
Cheers,
Ismael


---
> 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.






---
> 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