Raspberry Pi Arduino Java Example Event Handler not triggering

So i am following example one of this page on the site. http://openenergymonitor.org/emon/javaexamples To have an arduino work with a pi whilst using Java.

 

So far the code compiles and i am using the correct serial board. 

The issue is that SerialEvent is never called even though the event listener is added.

 

Can anyone offer any solutions to this problem?