diff --git a/src/main/java/my/harp07/PjFrame.java b/src/main/java/my/harp07/PjFrame.java index d76d95c..f1f936f 100644 --- a/src/main/java/my/harp07/PjFrame.java +++ b/src/main/java/my/harp07/PjFrame.java @@ -51,7 +51,7 @@ public class PjFrame extends javax.swing.JFrame { public static String currentLAF = "de.muntjak.tinylookandfeel.TinyLookAndFeel"; public static String currentTheme = "lib/themes/Default.theme"; public static List tinyTemes = new ArrayList<>(); - public static String zagolovok = "Pure Java Network Tools, v1.0.58, build 18-04-2022"; + public static String zagolovok = "Pure Java Network Tools, v1.0.60, build 18-04-2022"; //public static String currentLAF = "org.pushingpixels.substance.api.skin.SubstanceSaharaLookAndFeel"; //public static String currentLAF = "javax.swing.plaf.metal.MetalLookAndFeel"; //public ImageIcon snmpIcon33 = new ImageIcon(getClass().getResource("/mib-tree-3.jpg")); diff --git a/src/main/java/my/harp07/PjPingFlood.java b/src/main/java/my/harp07/PjPingFlood.java index 5af4e92..d6c58f6 100644 --- a/src/main/java/my/harp07/PjPingFlood.java +++ b/src/main/java/my/harp07/PjPingFlood.java @@ -57,6 +57,7 @@ public static void runPingFlood(String ip, int timeout, JTextArea ta) { ta.append("\nall time = " + (end - run) + " msec"); ta.append("\nping's with response = " + N); ta.append("\nping's with not response = " + M); + ta.append("\nPackets Loss, percent = " + String.format("%.2f", 100*(0.0+M)/(M+N)) + " %"); ta.append("\nAverage Packets Per Second = " + 1000 * (M + N) / (end - run) + " pps\n"); }).start(); }