Update Net.java

updated net