Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

5 events

  Asked By: Glenn    Date: Jun 30    Category: Java    Views: 676
  

I have the following problem. When I my program connects to my
Magnetic Stripe Reader via the commport and i drag a card through,
here are 5 different events thrown. Thats for my atm card. Each event
contains different data. Now when i drag my supermarket card through
it only gives 3 events. Now my program is supposed to recognise cards
from a database. I want to capture all the events into a single
string, but i never know how many events a specific card gives. How
can i make it so that the program takes all the events?

Another question. Why cant i Serialize an inner class? I created a
Entry object. It implements Serializable and i don't get compile
errors, but when i try to use writeObject() it throws a
notSerializableException. When i made a standalone class by copy &
pasting it worked fine. Why?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on 5 events Or get search suggestion and latest updates.




Tagged: