diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/configuration/SystemMailboxDialog.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/configuration/SystemMailboxDialog.java index 0be73571b..9dd6f0d49 100644 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/configuration/SystemMailboxDialog.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/configuration/SystemMailboxDialog.java @@ -666,15 +666,10 @@ import com.jdimension.jlawyer.client.settings.ClientSettings; import com.jdimension.jlawyer.client.settings.ServerSettings; import com.jdimension.jlawyer.client.utils.UserUtils; -import com.jdimension.jlawyer.server.services.MonitoringSnapshot; import com.jdimension.jlawyer.services.JLawyerServiceLocator; import com.jdimension.jlawyer.services.SystemManagementRemote; -import java.awt.Color; -import java.text.DecimalFormat; import javax.swing.JOptionPane; -import javax.swing.JProgressBar; import org.apache.log4j.Logger; -import themes.colors.DefaultColorTheme; /** * @@ -693,7 +688,6 @@ public SystemMailboxDialog(java.awt.Frame parent, boolean modal) { super(parent, modal); initComponents(); - ClientSettings settings = ClientSettings.getInstance(); try { if (!UserUtils.isCurrentUserAdmin()) { this.cmdSave.setEnabled(false); @@ -736,18 +730,6 @@ public SystemMailboxDialog(java.awt.Frame parent, boolean modal) { } - private void setForeground(JProgressBar b, String errorLevel, String warnLevel, int value) { - int e = Integer.parseInt(errorLevel); - int w = Integer.parseInt(warnLevel); - if (value >= e) { - b.setForeground(DefaultColorTheme.COLOR_LOGO_RED); - } else if (value >= w) { - b.setForeground(Color.ORANGE.darker().darker()); - } else { - b.setForeground(DefaultColorTheme.COLOR_LOGO_GREEN); - } - } - /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java index fa64855ce..fc243b0c4 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/ArchiveFilePanel.java @@ -6080,7 +6080,6 @@ private void cmbFormTypeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-F }//GEN-LAST:event_cmbFormTypeActionPerformed private void cmdFormsManagerActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdFormsManagerActionPerformed - ClientSettings settings = ClientSettings.getInstance(); try { if (UserUtils.isCurrentUserAdmin()) { FormsManagementDialog dlg = new FormsManagementDialog(EditorsRegistry.getInstance().getMainWindow(), true);