Fixed bug in new-account, added error dialogs.
[FinalKeyGui.git] / src / fkgui / SerialWorker.java
index 7284734..7ebc929 100644 (file)
@@ -1,7 +1,5 @@
 package fkgui;
 
-import java.awt.Menu;
-import java.awt.MenuItem;
 import java.util.List;
 
 import jssc.SerialPort;
@@ -297,6 +295,11 @@ public class SerialWorker extends javax.swing.SwingWorker<Void, String> implemen
                
                System.out.println("Event!" + event.getEventType() ); //$NON-NLS-1$
 
+               if( event.isRXCHAR() )
+               {
+                       System.out.print("{char}");
+               }
+               
                if(event.isBREAK())
                {
                        if(state!=SerialState.Disconnected)