Did you read this paragraph :


"Throughout this manual, we've provided sample code to illustrate
programming with the OpenCard Framework reference implementation. Notice
that the code is incomplete and thus would not compile. For the sake of
brevity, we've shown only those code snippets relevant to illustrate some
point and haven't always shown how some instance variables were initialized.
However, we have tried to include sufficient comments and variable
declarations to make the code illustrations self-explanatory."

Moreover, you should know Java Programming Language before trying to learn
OCF !
Try the Java Tutorial at http://java.sun.com/docs/books/tutorial/ ...

Good luck !

B.LUBEK


> -----Original Message-----
> From: eunal [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 02, 2001 6:18 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [OCF] here is another one
> 
> 
> Hi,
> This code taken from OCF web site !!
> Yes exception error corrected but we have another one !!
> Error is:
> any ideas ?
> 
> 
> Starting demo...
> card.java:48: incompatible types
> found   : <null>
> required: int
> slotID = null;
> ^
> Note: card.java uses or overrides a deprecated API.
> Note: Recompile with -deprecation for details.
> 1 error
> 
> //after depricated compile
> Starting demo...
> card.java:4: warning: opencard.core.terminal.Slot in 
> opencard.core.terminal
> has
> been deprecated
> import opencard.core.terminal.Slot;
> ^
> card.java:33: warning: 
> getSmartCard(opencard.core.event.CardTerminalEvent)
> in op
> encard.core.service.SmartCard has been deprecated
> smartcard = SmartCard.getSmartCard(event);
> ^
> card.java:48: incompatible types
> found   : <null>
> required: int
> slotID = null;
> ^
> 1 error
> 2 warnings
> 
> 
> 
> engin..


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