/hg/icedtea-web: 3 new changesets
omajid at icedtea.classpath.org
omajid at icedtea.classpath.org
Wed Jan 12 09:51:08 PST 2011
changeset 9a9e757c21d7 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=9a9e757c21d7
author: Omair Majid <omajid at redhat.com>
date: Wed Jan 12 12:31:25 2011 -0500
remove ununsed imports in netx
2011-01-12 Omair Majid <omajid at redhat.com>
* netx/javax/jnlp/UnavailableServiceException.java: Remove
unused imports.
* netx/net/sourceforge/jnlp/AppletDesc.java: Likewise.
* netx/net/sourceforge/jnlp/ApplicationDesc.java: Likewise.
* netx/net/sourceforge/jnlp/ComponentDesc.java: Likewise.
* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Likewise.
* netx/net/sourceforge/jnlp/IconDesc.java: Likewise.
* netx/net/sourceforge/jnlp/InformationDesc.java: Likewise.
* netx/net/sourceforge/jnlp/InstallerDesc.java: Likewise.
* netx/net/sourceforge/jnlp/JARDesc.java: Likewise.
* netx/net/sourceforge/jnlp/JREDesc.java: Likewise.
* netx/net/sourceforge/jnlp/Launcher.java: Likewise.
* netx/net/sourceforge/jnlp/PackageDesc.java: Likewise.
* netx/net/sourceforge/jnlp/ParseException.java: Likewise.
* netx/net/sourceforge/jnlp/PluginBridge.java: Likewise.
* netx/net/sourceforge/jnlp/PropertyDesc.java: Likewise.
* netx/net/sourceforge/jnlp/ResourcesDesc.java: Likewise.
* netx/net/sourceforge/jnlp/Version.java: Likewise.
* netx/net/sourceforge/jnlp/cache/CacheEntry.java: Likewise.
* netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
Likewise.
* netx/net/sourceforge/jnlp/cache/DownloadIndicator.java: Likewise.
* netx/net/sourceforge/jnlp/cache/UpdatePolicy.java: Likewise.
* netx/net/sourceforge/jnlp/controlpanel
/AdvancedProxySettingsDialog.java: Likewise.
* netx/net/sourceforge/jnlp/controlpanel
/AdvancedProxySettingsPane.java: Likewise.
* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
Likewise.
* netx/net/sourceforge/jnlp/controlpanel
/TemporaryInternetFilesPanel.java: Likewise.
* netx/net/sourceforge/jnlp/event/ApplicationEvent.java: Likewise.
* netx/net/sourceforge/jnlp/event/DownloadEvent.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/AppletInstance.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
Likewise.
* netx/net/sourceforge/jnlp/runtime/Boot13.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
Likewise.
* netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Likewise.
* netx/net/sourceforge/jnlp/security/SecurityUtil.java: Likewise.
* netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XDownloadService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java:
Likewise.
* netx/net/sourceforge/jnlp/services/XFileContents.java: Likewise.
* netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XPersistenceService.java:
Likewise.
* netx/net/sourceforge/jnlp/util/PropertiesFile.java: Likewise.
* netx/net/sourceforge/jnlp/util/Reflect.java: Likewise.
changeset 47fafd13e0c4 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=47fafd13e0c4
author: Omair Majid <omajid at redhat.com>
date: Wed Jan 12 12:36:36 2011 -0500
add missing generic type in JNLPFile
2011-01-12 Omair Majid <omajid at redhat.com>
* netx/net/sourceforge/jnlp/JNLPFile: Add missing generic type
to info. (getInformation): Remove redundant cast.
changeset 4e84e06b54e9 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=4e84e06b54e9
author: Omair Majid <omajid at redhat.com>
date: Wed Jan 12 12:50:13 2011 -0500
fix problems in control panel caused by removing
JNLPRuntime.initialize()
2011-01-12 Omair Majid <omajid at redhat.com>
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
(main): Set look and feel. Set config object to use with KeyStores.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
Set config object to use with KeyStores.
* netx/net/sourceforge/jnlp/security/KeyStores.java: Add new member
config. (setConfiguration): New method. Sets the value of config
after security check. (getKeyStoreLocation): Use config
object instead of querying JNLPRuntime.
diffstat:
49 files changed, 104 insertions(+), 137 deletions(-)
ChangeLog | 76 ++++++++++
netx/net/sourceforge/jnlp/AppletDesc.java | 1
netx/net/sourceforge/jnlp/ApplicationDesc.java | 2
netx/net/sourceforge/jnlp/ComponentDesc.java | 4
netx/net/sourceforge/jnlp/DefaultLaunchHandler.java | 5
netx/net/sourceforge/jnlp/IconDesc.java | 2
netx/net/sourceforge/jnlp/InformationDesc.java | 2
netx/net/sourceforge/jnlp/InstallerDesc.java | 4
netx/net/sourceforge/jnlp/JARDesc.java | 4
netx/net/sourceforge/jnlp/JNLPFile.java | 4
netx/net/sourceforge/jnlp/JREDesc.java | 1
netx/net/sourceforge/jnlp/Launcher.java | 3
netx/net/sourceforge/jnlp/PackageDesc.java | 4
netx/net/sourceforge/jnlp/ParseException.java | 2
netx/net/sourceforge/jnlp/PluginBridge.java | 1
netx/net/sourceforge/jnlp/PropertyDesc.java | 4
netx/net/sourceforge/jnlp/ResourcesDesc.java | 3
netx/net/sourceforge/jnlp/Version.java | 2
netx/net/sourceforge/jnlp/cache/CacheEntry.java | 4
netx/net/sourceforge/jnlp/cache/CacheUtil.java | 1
netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java | 1
netx/net/sourceforge/jnlp/cache/DownloadIndicator.java | 7
netx/net/sourceforge/jnlp/cache/UpdatePolicy.java | 11 -
netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java | 2
netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java | 2
netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java | 9 +
netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java | 3
netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java | 1
netx/net/sourceforge/jnlp/event/ApplicationEvent.java | 1
netx/net/sourceforge/jnlp/event/DownloadEvent.java | 2
netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java | 2
netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java | 1
netx/net/sourceforge/jnlp/runtime/AppletInstance.java | 7
netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java | 1
netx/net/sourceforge/jnlp/runtime/Boot13.java | 2
netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java | 4
netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 5
netx/net/sourceforge/jnlp/security/CertsInfoPane.java | 3
netx/net/sourceforge/jnlp/security/KeyStores.java | 15 +
netx/net/sourceforge/jnlp/security/SecurityUtil.java | 1
netx/net/sourceforge/jnlp/services/XBasicService.java | 1
netx/net/sourceforge/jnlp/services/XDownloadService.java | 4
netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java | 4
netx/net/sourceforge/jnlp/services/XFileContents.java | 6
netx/net/sourceforge/jnlp/services/XFileOpenService.java | 7
netx/net/sourceforge/jnlp/services/XFileSaveService.java | 4
netx/net/sourceforge/jnlp/services/XPersistenceService.java | 2
netx/net/sourceforge/jnlp/util/PropertiesFile.java | 3
netx/net/sourceforge/jnlp/util/Reflect.java | 1
diffs (truncated from 825 to 500 lines):
diff -r dc02a605f905 -r 4e84e06b54e9 ChangeLog
--- a/ChangeLog Fri Jan 07 08:00:08 2011 -0500
+++ b/ChangeLog Wed Jan 12 12:50:13 2011 -0500
@@ -1,3 +1,79 @@ 2011-01-04 Omair Majid <omajid at redhat.
+2011-01-12 Omair Majid <omajid at redhat.com>
+
+ * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
+ (main): Set look and feel. Set config object to use with KeyStores.
+ * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
+ (initialize): Set config object to use with KeyStores.
+ * netx/net/sourceforge/jnlp/security/KeyStores.java: Add new member
+ config.
+ (setConfiguration): New method. Sets the value of config after security
+ check.
+ (getKeyStoreLocation): Use config object instead of querying JNLPRuntime.
+
+2011-01-12 Omair Majid <omajid at redhat.com>
+
+ * netx/net/sourceforge/jnlp/JNLPFile: Add missing generic type to info.
+ (getInformation): Remove redundant cast.
+
+2011-01-12 Omair Majid <omajid at redhat.com>
+
+ * netx/javax/jnlp/UnavailableServiceException.java: Remove unused
+ imports.
+ * netx/net/sourceforge/jnlp/AppletDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/ApplicationDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/ComponentDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Likewise.
+ * netx/net/sourceforge/jnlp/IconDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/InformationDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/InstallerDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/JARDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/JREDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/Launcher.java: Likewise.
+ * netx/net/sourceforge/jnlp/PackageDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/ParseException.java: Likewise.
+ * netx/net/sourceforge/jnlp/PluginBridge.java: Likewise.
+ * netx/net/sourceforge/jnlp/PropertyDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/ResourcesDesc.java: Likewise.
+ * netx/net/sourceforge/jnlp/Version.java: Likewise.
+ * netx/net/sourceforge/jnlp/cache/CacheEntry.java: Likewise.
+ * netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
+ * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
+ Likewise.
+ * netx/net/sourceforge/jnlp/cache/DownloadIndicator.java: Likewise.
+ * netx/net/sourceforge/jnlp/cache/UpdatePolicy.java: Likewise.
+ * netx/net/sourceforge/jnlp/controlpanel
+ /AdvancedProxySettingsDialog.java: Likewise.
+ * netx/net/sourceforge/jnlp/controlpanel
+ /AdvancedProxySettingsPane.java: Likewise.
+ * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
+ Likewise.
+ * netx/net/sourceforge/jnlp/controlpanel
+ /TemporaryInternetFilesPanel.java: Likewise.
+ * netx/net/sourceforge/jnlp/event/ApplicationEvent.java: Likewise.
+ * netx/net/sourceforge/jnlp/event/DownloadEvent.java: Likewise.
+ * netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java: Likewise.
+ * netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java: Likewise.
+ * netx/net/sourceforge/jnlp/runtime/AppletInstance.java: Likewise.
+ * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
+ Likewise.
+ * netx/net/sourceforge/jnlp/runtime/Boot13.java: Likewise.
+ * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
+ * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
+ Likewise.
+ * netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Likewise.
+ * netx/net/sourceforge/jnlp/security/SecurityUtil.java: Likewise.
+ * netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise.
+ * netx/net/sourceforge/jnlp/services/XDownloadService.java: Likewise.
+ * netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java:
+ Likewise.
+ * netx/net/sourceforge/jnlp/services/XFileContents.java: Likewise.
+ * netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
+ * netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
+ * netx/net/sourceforge/jnlp/services/XPersistenceService.java:
+ Likewise.
+ * netx/net/sourceforge/jnlp/util/PropertiesFile.java: Likewise.
+ * netx/net/sourceforge/jnlp/util/Reflect.java: Likewise.
+
2011-01-04 Omair Majid <omajid at redhat.com>
* netx/net/sourceforge/jnlp/security/KeyStores.java
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/AppletDesc.java
--- a/netx/net/sourceforge/jnlp/AppletDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/AppletDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -16,7 +16,6 @@
package net.sourceforge.jnlp;
-import java.io.*;
import java.net.*;
import java.util.*;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/ApplicationDesc.java
--- a/netx/net/sourceforge/jnlp/ApplicationDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/ApplicationDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -16,8 +16,6 @@
package net.sourceforge.jnlp;
-import java.io.*;
-import java.net.*;
import java.util.*;
/**
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/ComponentDesc.java
--- a/netx/net/sourceforge/jnlp/ComponentDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/ComponentDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -16,10 +16,6 @@
package net.sourceforge.jnlp;
-import java.io.*;
-import java.net.*;
-import java.util.*;
-
/**
* The component-desc element.
*
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/DefaultLaunchHandler.java
--- a/netx/net/sourceforge/jnlp/DefaultLaunchHandler.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/DefaultLaunchHandler.java Wed Jan 12 12:50:13 2011 -0500
@@ -17,11 +17,6 @@ package net.sourceforge.jnlp;
package net.sourceforge.jnlp;
import net.sourceforge.jnlp.runtime.*;
-import net.sourceforge.jnlp.util.*;
-
-import java.awt.*;
-import java.util.*;
-import javax.swing.*;
/**
* This default implementation shows prints the exception to
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/IconDesc.java
--- a/netx/net/sourceforge/jnlp/IconDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/IconDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -16,9 +16,7 @@
package net.sourceforge.jnlp;
-import java.io.*;
import java.net.*;
-import java.util.*;
/**
* The icon element.
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/InformationDesc.java
--- a/netx/net/sourceforge/jnlp/InformationDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/InformationDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -17,8 +17,6 @@
package net.sourceforge.jnlp;
-import java.io.*;
-import java.awt.Dimension;
import java.net.*;
import java.util.*;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/InstallerDesc.java
--- a/netx/net/sourceforge/jnlp/InstallerDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/InstallerDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -15,10 +15,6 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
package net.sourceforge.jnlp;
-
-import java.io.*;
-import java.net.*;
-import java.util.*;
/**
* The installer-desc element.
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/JARDesc.java
--- a/netx/net/sourceforge/jnlp/JARDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/JARDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -16,9 +16,7 @@
package net.sourceforge.jnlp;
-import java.io.*;
-import java.net.*;
-import java.util.*;
+import java.net.URL;
/**
* The JAR element.
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/JNLPFile.java
--- a/netx/net/sourceforge/jnlp/JNLPFile.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/JNLPFile.java Wed Jan 12 12:50:13 2011 -0500
@@ -80,7 +80,7 @@ public class JNLPFile {
protected Version specVersion;
/** information */
- protected List info;
+ protected List<InformationDesc> info;
protected UpdateDesc update;
@@ -326,7 +326,7 @@ public class JNLPFile {
List<Object> result = new ArrayList<Object>();
for (int i = 0; i < info.size(); i++) {
- InformationDesc infoDesc = (InformationDesc) info.get(i);
+ InformationDesc infoDesc = info.get(i);
if (localMatches(locale, infoDesc.getLocales()))
if (localMatches(locale, infoDesc.getLocales()))
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/JREDesc.java
--- a/netx/net/sourceforge/jnlp/JREDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/JREDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -18,7 +18,6 @@ package net.sourceforge.jnlp;
import static net.sourceforge.jnlp.runtime.Translator.R;
-import java.io.*;
import java.net.*;
import java.util.*;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/Launcher.java
--- a/netx/net/sourceforge/jnlp/Launcher.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/Launcher.java Wed Jan 12 12:50:13 2011 -0500
@@ -24,8 +24,6 @@ import java.io.FileInputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
-import java.lang.management.ManagementFactory;
-import java.lang.management.ThreadMXBean;
import java.lang.reflect.Method;
import java.net.InetAddress;
import java.net.URL;
@@ -48,7 +46,6 @@ import net.sourceforge.jnlp.services.Ins
import net.sourceforge.jnlp.services.InstanceExistsException;
import net.sourceforge.jnlp.services.ServiceUtil;
import net.sourceforge.jnlp.util.FileUtils;
-import net.sourceforge.jnlp.util.Reflect;
import javax.swing.SwingUtilities;
import javax.swing.text.html.parser.ParserDelegator;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/PackageDesc.java
--- a/netx/net/sourceforge/jnlp/PackageDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/PackageDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -15,10 +15,6 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
package net.sourceforge.jnlp;
-
-import java.io.*;
-import java.net.*;
-import java.util.*;
/**
* The package element.
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/ParseException.java
--- a/netx/net/sourceforge/jnlp/ParseException.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/ParseException.java Wed Jan 12 12:50:13 2011 -0500
@@ -17,8 +17,6 @@ package net.sourceforge.jnlp;
package net.sourceforge.jnlp;
import java.io.*;
-import java.net.*;
-import java.util.*;
/**
* Thrown to indicate that an error has occurred while parsing a
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/PluginBridge.java
--- a/netx/net/sourceforge/jnlp/PluginBridge.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/PluginBridge.java Wed Jan 12 12:50:13 2011 -0500
@@ -26,7 +26,6 @@ import java.net.MalformedURLException;
import java.net.MalformedURLException;
import java.util.Calendar;
import java.util.Hashtable;
-import java.util.Iterator;
import java.util.Locale;
import java.util.List;
import java.util.ArrayList;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/PropertyDesc.java
--- a/netx/net/sourceforge/jnlp/PropertyDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/PropertyDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -15,10 +15,6 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
package net.sourceforge.jnlp;
-
-import java.io.*;
-import java.net.*;
-import java.util.*;
/**
* The property element.
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/ResourcesDesc.java
--- a/netx/net/sourceforge/jnlp/ResourcesDesc.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/ResourcesDesc.java Wed Jan 12 12:50:13 2011 -0500
@@ -16,9 +16,6 @@
package net.sourceforge.jnlp;
-import java.io.*;
-import java.awt.Dimension;
-import java.net.*;
import java.util.*;
/**
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/Version.java
--- a/netx/net/sourceforge/jnlp/Version.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/Version.java Wed Jan 12 12:50:13 2011 -0500
@@ -16,8 +16,6 @@
package net.sourceforge.jnlp;
-import java.io.*;
-import java.net.*;
import java.util.*;
/**
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/cache/CacheEntry.java
--- a/netx/net/sourceforge/jnlp/cache/CacheEntry.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/cache/CacheEntry.java Wed Jan 12 12:50:13 2011 -0500
@@ -20,10 +20,6 @@ import static net.sourceforge.jnlp.runti
import java.io.*;
import java.net.*;
-import java.util.*;
-import java.lang.reflect.*;
-import java.security.*;
-import javax.jnlp.*;
import net.sourceforge.jnlp.*;
import net.sourceforge.jnlp.runtime.*;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/cache/CacheUtil.java
--- a/netx/net/sourceforge/jnlp/cache/CacheUtil.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/cache/CacheUtil.java Wed Jan 12 12:50:13 2011 -0500
@@ -22,7 +22,6 @@ import java.net.*;
import java.net.*;
import java.nio.channels.FileChannel;
import java.util.*;
-import java.lang.reflect.*;
import java.security.*;
import javax.jnlp.*;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java
--- a/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java Wed Jan 12 12:50:13 2011 -0500
@@ -27,7 +27,6 @@ import javax.swing.Timer;
import javax.swing.Timer;
import javax.jnlp.*;
-import net.sourceforge.jnlp.*;
import net.sourceforge.jnlp.runtime.*;
/**
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/cache/DownloadIndicator.java
--- a/netx/net/sourceforge/jnlp/cache/DownloadIndicator.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/cache/DownloadIndicator.java Wed Jan 12 12:50:13 2011 -0500
@@ -16,16 +16,9 @@
package net.sourceforge.jnlp.cache;
-import java.awt.*;
-import java.awt.event.*;
import java.net.*;
-import java.util.*;
-import java.util.List;
-import javax.swing.*;
-import javax.swing.Timer;
import javax.jnlp.*;
-import net.sourceforge.jnlp.*;
import net.sourceforge.jnlp.runtime.*;
/**
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/cache/UpdatePolicy.java
--- a/netx/net/sourceforge/jnlp/cache/UpdatePolicy.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/cache/UpdatePolicy.java Wed Jan 12 12:50:13 2011 -0500
@@ -15,17 +15,6 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
package net.sourceforge.jnlp.cache;
-
-import java.io.*;
-import java.net.*;
-import java.util.*;
-import java.lang.reflect.*;
-import java.security.*;
-import javax.jnlp.*;
-
-import net.sourceforge.jnlp.*;
-import net.sourceforge.jnlp.runtime.*;
-import net.sourceforge.jnlp.util.*;
/**
* A policy that determines when a resource should be checked for
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java
--- a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java Wed Jan 12 12:50:13 2011 -0500
@@ -28,8 +28,6 @@ import java.awt.event.WindowEvent;
import java.awt.event.WindowEvent;
import javax.swing.JDialog;
-import javax.swing.SwingUtilities;
-import javax.swing.UIManager;
import net.sourceforge.jnlp.config.DeploymentConfiguration;
import net.sourceforge.jnlp.runtime.Translator;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java
--- a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java Wed Jan 12 12:50:13 2011 -0500
@@ -27,8 +27,6 @@ import java.awt.event.ActionListener;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
-import java.awt.event.KeyAdapter;
-import java.awt.event.KeyEvent;
import java.util.ArrayList;
import java.util.List;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
--- a/netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java Wed Jan 12 12:50:13 2011 -0500
@@ -53,6 +53,7 @@ import javax.swing.event.ListSelectionLi
import net.sourceforge.jnlp.config.DeploymentConfiguration;
import net.sourceforge.jnlp.runtime.Translator;
+import net.sourceforge.jnlp.security.KeyStores;
import net.sourceforge.jnlp.security.viewer.CertificatePane;
/**
@@ -354,6 +355,14 @@ public class ControlPanel extends JFrame
e.printStackTrace();
}
+ try {
+ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+ } catch (Exception e) {
+ // ignore; not a big deal
+ }
+
+ KeyStores.setConfiguration(config);
+
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
--- a/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java Wed Jan 12 12:50:13 2011 -0500
@@ -29,15 +29,12 @@ import java.awt.event.ActionListener;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
-import java.awt.event.KeyAdapter;
-import java.awt.event.KeyEvent;
import java.util.ArrayList;
import javax.swing.Box;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JCheckBox;
-import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
--- a/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java Wed Jan 12 12:50:13 2011 -0500
@@ -38,7 +38,6 @@ import javax.swing.JSpinner;
import javax.swing.JSpinner;
import javax.swing.JTextField;
import javax.swing.SpinnerNumberModel;
-import javax.swing.SwingUtilities;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/event/ApplicationEvent.java
--- a/netx/net/sourceforge/jnlp/event/ApplicationEvent.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/event/ApplicationEvent.java Wed Jan 12 12:50:13 2011 -0500
@@ -18,7 +18,6 @@ package net.sourceforge.jnlp.event;
import java.util.*;
-import net.sourceforge.jnlp.*;
import net.sourceforge.jnlp.runtime.*;
/**
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/event/DownloadEvent.java
--- a/netx/net/sourceforge/jnlp/event/DownloadEvent.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/event/DownloadEvent.java Wed Jan 12 12:50:13 2011 -0500
@@ -19,9 +19,7 @@ import java.net.*;
import java.net.*;
import java.util.*;
-import net.sourceforge.jnlp.*;
import net.sourceforge.jnlp.cache.*;
-import net.sourceforge.jnlp.runtime.*;
/**
* This event is sent during the launch of an
diff -r dc02a605f905 -r 4e84e06b54e9 netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java
--- a/netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java Fri Jan 07 08:00:08 2011 -0500
+++ b/netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java Wed Jan 12 12:50:13 2011 -0500
More information about the distro-pkg-dev
mailing list