@@ -58,12 +58,14 @@ public class PjFrame extends javax.swing.JFrame {
58
58
public static Thread mrtgThread ;
59
59
public static int FW = 960 ;
60
60
public static int FH = 600 ;
61
+ public static ImageIcon iconOn = new ImageIcon (PjFrame .class .getResource ("/img/go-green-krug-16.png" ));
62
+ public static ImageIcon iconOf = new ImageIcon (PjFrame .class .getResource ("/img/stop-16.png" ));
61
63
public static List <String > lookAndFeelsDisplay = new ArrayList <>();
62
64
public static List <String > lookAndFeelsRealNames = new ArrayList <>();
63
65
public static String currentLAF = "de.muntjak.tinylookandfeel.TinyLookAndFeel" ;
64
66
public static String currentTheme = "lib/themes/Default.theme" ;
65
67
public static List <String > tinyTemes = new ArrayList <>();
66
- public static String zagolovok = "Pure Java Network Tools, v1.0.93 , build 03-12-2023" ;
68
+ public static String zagolovok = "Pure Java Network Tools, v1.0.94 , build 03-12-2023" ;
67
69
68
70
public PjFrame () {
69
71
initComponents ();
@@ -118,7 +120,7 @@ public static void MyInstLF(String lf) {
118
120
public static void InstallLF () {
119
121
MyInstLF ("de.muntjak.tinylookandfeel.TinyLookAndFeel" );
120
122
MyInstLF ("javax.swing.plaf.metal.MetalLookAndFeel" );
121
- MyInstLF ("org.pushingpixels.substance.api.skin.SubstanceSaharaLookAndFeel" );
123
+ /* MyInstLF("org.pushingpixels.substance.api.skin.SubstanceSaharaLookAndFeel");
122
124
MyInstLF("org.pushingpixels.substance.api.skin.SubstanceAutumnLookAndFeel");
123
125
MyInstLF("org.pushingpixels.substance.api.skin.SubstanceCremeLookAndFeel");
124
126
MyInstLF("org.pushingpixels.substance.api.skin.SubstanceCremeCoffeeLookAndFeel");
@@ -143,7 +145,7 @@ public static void InstallLF() {
143
145
MyInstLF("org.pushingpixels.substance.api.skin.SubstanceBusinessLookAndFeel");
144
146
MyInstLF("org.pushingpixels.substance.api.skin.SubstanceMarinerLookAndFeel");
145
147
MyInstLF("org.pushingpixels.substance.api.skin.SubstanceCeruleanLookAndFeel");
146
- MyInstLF ("org.pushingpixels.substance.api.skin.SubstanceTwilightLookAndFeel" );
148
+ MyInstLF("org.pushingpixels.substance.api.skin.SubstanceTwilightLookAndFeel");*/
147
149
//
148
150
/*MyInstLF("com.jtattoo.plaf.acryl.AcrylLookAndFeel");
149
151
MyInstLF("com.jtattoo.plaf.aero.AeroLookAndFeel");
@@ -1794,8 +1796,8 @@ private void btnBooleanSyslogItemStateChanged(java.awt.event.ItemEvent evt) {//G
1794
1796
btnBooleanSyslog .setSelected (false );
1795
1797
return ;
1796
1798
}
1797
- ImageIcon iconOn = new ImageIcon (getClass ().getResource ("/img/get-16.png" ));
1798
- ImageIcon iconOf = new ImageIcon (getClass ().getResource ("/img/stop-16.png" ));
1799
+ // ImageIcon iconOn = new ImageIcon(getClass().getResource("/img/get-16.png"));
1800
+ // ImageIcon iconOf = new ImageIcon(getClass().getResource("/img/stop-16.png"));
1799
1801
if (evt .getStateChange () == ItemEvent .SELECTED ) {
1800
1802
PjSyslog .go (taSyslogResult );
1801
1803
btnBooleanSyslog .setText ("Stop syslog-server " );
@@ -2013,8 +2015,8 @@ private void btnBooleanPingFloodItemStateChanged(java.awt.event.ItemEvent evt) {
2013
2015
btnBooleanPingFlood .setSelected (false );
2014
2016
return ;
2015
2017
}
2016
- ImageIcon iconOn = new ImageIcon (getClass ().getResource ("/img/get-16.png" ));
2017
- ImageIcon iconOf = new ImageIcon (getClass ().getResource ("/img/stop-16.png" ));
2018
+ // ImageIcon iconOn = new ImageIcon(getClass().getResource("/img/get-16.png"));
2019
+ // ImageIcon iconOf = new ImageIcon(getClass().getResource("/img/stop-16.png"));
2018
2020
if (evt .getStateChange () == ItemEvent .SELECTED ) {
2019
2021
PjPingFlood .go (taPingFloodResult );
2020
2022
btnBooleanPingFlood .setText ("Stop Ping Flood " );
@@ -2038,8 +2040,8 @@ private void btnUdpFloodActionPerformed(java.awt.event.ActionEvent evt) {//GEN-F
2038
2040
}//GEN-LAST:event_btnUdpFloodActionPerformed
2039
2041
2040
2042
private void btnBooleanTftpItemStateChanged (java .awt .event .ItemEvent evt ) {//GEN-FIRST:event_btnBooleanTftpItemStateChanged
2041
- ImageIcon iconOn = new ImageIcon (getClass ().getResource ("/img/get-16.png" ));
2042
- ImageIcon iconOf = new ImageIcon (getClass ().getResource ("/img/stop-16.png" ));
2043
+ // ImageIcon iconOn = new ImageIcon(getClass().getResource("/img/get-16.png"));
2044
+ // ImageIcon iconOf = new ImageIcon(getClass().getResource("/img/stop-16.png"));
2043
2045
if (evt .getStateChange () == ItemEvent .SELECTED ) {
2044
2046
btnBooleanTftp .setText ("Stop TFTP-server " );
2045
2047
btnBooleanTftp .setIcon (iconOf );
@@ -2073,8 +2075,8 @@ private void btnTftpSaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-F
2073
2075
}//GEN-LAST:event_btnTftpSaveActionPerformed
2074
2076
2075
2077
private void btnBooleanNtpItemStateChanged (java .awt .event .ItemEvent evt ) {//GEN-FIRST:event_btnBooleanNtpItemStateChanged
2076
- ImageIcon iconOn = new ImageIcon (getClass ().getResource ("/img/get-16.png" ));
2077
- ImageIcon iconOf = new ImageIcon (getClass ().getResource ("/img/stop-16.png" ));
2078
+ // ImageIcon iconOn = new ImageIcon(getClass().getResource("/img/get-16.png"));
2079
+ // ImageIcon iconOf = new ImageIcon(getClass().getResource("/img/stop-16.png"));
2078
2080
if (evt .getStateChange () == ItemEvent .SELECTED ) {
2079
2081
btnBooleanNtp .setText ("Stop NTP-server " );
2080
2082
btnBooleanNtp .setIcon (iconOf );
@@ -2110,8 +2112,8 @@ private void btnTcpPingClearActionPerformed(java.awt.event.ActionEvent evt) {//G
2110
2112
}//GEN-LAST:event_btnTcpPingClearActionPerformed
2111
2113
2112
2114
private void btnBooleanFtpItemStateChanged (java .awt .event .ItemEvent evt ) {//GEN-FIRST:event_btnBooleanFtpItemStateChanged
2113
- ImageIcon iconOn = new ImageIcon (getClass ().getResource ("/img/get-16.png" ));
2114
- ImageIcon iconOf = new ImageIcon (getClass ().getResource ("/img/stop-16.png" ));
2115
+ // ImageIcon iconOn = new ImageIcon(getClass().getResource("/img/get-16.png"));
2116
+ // ImageIcon iconOf = new ImageIcon(getClass().getResource("/img/stop-16.png"));
2115
2117
if (evt .getStateChange () == ItemEvent .SELECTED ) {
2116
2118
btnBooleanFtp .setText ("Stop FTP-server " );
2117
2119
btnBooleanFtp .setIcon (iconOf );
0 commit comments