Please check out emField.java (attached file under the first message) by yourself.