A Java application for testing network performances