Some changes to cope with 1.5.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Getdown.java,v 1.34 2004/08/21 01:12:33 ray Exp $
|
||||
// $Id$
|
||||
|
||||
package com.threerings.getdown.launcher;
|
||||
|
||||
@@ -98,7 +98,7 @@ public class Getdown extends Thread
|
||||
new ProxyPanel(this, _msgs), BorderLayout.CENTER);
|
||||
_frame.pack();
|
||||
SwingUtil.centerWindow(_frame);
|
||||
_frame.show();
|
||||
_frame.setVisible(true);
|
||||
// allow them to close the window to abort the proxy
|
||||
// configuration
|
||||
_dead = true;
|
||||
@@ -548,7 +548,7 @@ public class Getdown extends Thread
|
||||
_frame.getContentPane().add(_status, BorderLayout.CENTER);
|
||||
_frame.pack();
|
||||
SwingUtil.centerWindow(_frame);
|
||||
_frame.show();
|
||||
_frame.setVisible(true);
|
||||
}
|
||||
|
||||
protected void setStatus (final String message, final int percent,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Differ.java,v 1.6 2004/07/30 02:23:52 mdb Exp $
|
||||
// $Id$
|
||||
|
||||
package com.threerings.getdown.tools;
|
||||
|
||||
@@ -174,8 +174,8 @@ public class Differ
|
||||
JarOutputStream jout = new JarOutputStream(
|
||||
new BufferedOutputStream(new FileOutputStream(temp)));
|
||||
byte[] buffer = new byte[4096];
|
||||
for (Enumeration enum = jar.entries(); enum.hasMoreElements(); ) {
|
||||
JarEntry entry = (JarEntry)enum.nextElement();
|
||||
for (Enumeration iter = jar.entries(); iter.hasMoreElements(); ) {
|
||||
JarEntry entry = (JarEntry)iter.nextElement();
|
||||
entry.setCompressedSize(-1);
|
||||
jout.putNextEntry(entry);
|
||||
InputStream in = jar.getInputStream(entry);
|
||||
|
||||
Reference in New Issue
Block a user