Some tweaks in NetJavaImpl
Merge pull request #726 from hneuer/netjava

Some tweaks in NetJavaImpl