- resolved on
+ resolved on
@@ -289,19 +281,19 @@
Dependencies Stats
-
+
Errors
@@ -379,14 +371,14 @@
- Details
+ Details
-
by
-
+
@@ -406,7 +398,7 @@
-
+
Status | |
Publication | |
@@ -420,10 +412,10 @@
-
+
- Evicted by |
+ |
Evicted by |
@@ -461,11 +453,11 @@
|
|
|
-
+
-
+
Dependencies
@@ -498,13 +490,13 @@
|
kB |
-
+
-
+
-
+
diff --git a/src/java/org/apache/ivy/util/CredentialsUtil.java b/src/java/org/apache/ivy/util/CredentialsUtil.java
index 492bdead9..c9f9073f3 100644
--- a/src/java/org/apache/ivy/util/CredentialsUtil.java
+++ b/src/java/org/apache/ivy/util/CredentialsUtil.java
@@ -17,6 +17,12 @@
*/
package org.apache.ivy.util;
+import javax.swing.JCheckBox;
+import javax.swing.JLabel;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+import javax.swing.JPasswordField;
+import javax.swing.JTextField;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
@@ -26,16 +32,6 @@
import java.io.IOException;
import java.util.Properties;
-import javax.swing.ImageIcon;
-import javax.swing.JCheckBox;
-import javax.swing.JLabel;
-import javax.swing.JOptionPane;
-import javax.swing.JPanel;
-import javax.swing.JPasswordField;
-import javax.swing.JTextField;
-
-import org.apache.ivy.Ivy;
-
public final class CredentialsUtil {
@SuppressWarnings("serial")
@@ -103,7 +99,7 @@ public static Credentials promptCredentials(Credentials c, File passfile) {
}
CredentialPanel credentialPanel = new CredentialPanel(c, passfile);
if (JOptionPane.showOptionDialog(null, credentialPanel, c.getHost() + " credentials",
- JOptionPane.OK_CANCEL_OPTION, 0, new ImageIcon(Ivy.class.getResource("logo.png")),
+ JOptionPane.OK_CANCEL_OPTION, 0, new IvyLogo(),
null, JOptionPane.OK_OPTION) == JOptionPane.OK_OPTION) {
String username = credentialPanel.userNameField.getText();
String passwd = credentialPanel.passwordField.getText();
diff --git a/src/java/org/apache/ivy/util/IvyLogo.java b/src/java/org/apache/ivy/util/IvyLogo.java
new file mode 100644
index 000000000..fb258969d
--- /dev/null
+++ b/src/java/org/apache/ivy/util/IvyLogo.java
@@ -0,0 +1,346 @@
+package org.apache.ivy.util;
+
+import javax.swing.Icon;
+import java.awt.Color;
+import java.awt.Component;
+import java.awt.Graphics;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+import java.awt.geom.AffineTransform;
+import java.awt.geom.GeneralPath;
+import java.awt.image.BufferedImage;
+import java.util.LinkedList;
+
+import static java.awt.Color.WHITE;
+import static java.lang.Math.min;
+
+/**
+ * This class has been automatically generated using
+ *