Some changes to cope with 1.5.

This commit is contained in:
Michael Bayne
2004-10-20 23:10:07 +00:00
parent 6cbdafb0b2
commit dc8815610f
2 changed files with 6 additions and 6 deletions
@@ -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);