summaryrefslogtreecommitdiffstats
path: root/depends/launcher/net/minecraft/Launcher.java
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-20 01:32:38 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-20 01:32:38 +0100
commit222d3c0dc5a8b8a9e93b9368e964cda7becc7f02 (patch)
tree9ab4538f2e80847874a7c9a5c7c2dbc099cb8cae /depends/launcher/net/minecraft/Launcher.java
parent48b587e7b6b96b5c3ac17dc8b67a7b0ab9c2c4f0 (diff)
parent3a3c9ac9515447941d383f2c4fe4b0225fdd8252 (diff)
downloadMultiMC-222d3c0dc5a8b8a9e93b9368e964cda7becc7f02.tar
MultiMC-222d3c0dc5a8b8a9e93b9368e964cda7becc7f02.tar.gz
MultiMC-222d3c0dc5a8b8a9e93b9368e964cda7becc7f02.tar.lz
MultiMC-222d3c0dc5a8b8a9e93b9368e964cda7becc7f02.tar.xz
MultiMC-222d3c0dc5a8b8a9e93b9368e964cda7becc7f02.zip
Merge branch 'release-0.2'0.2
Diffstat (limited to 'depends/launcher/net/minecraft/Launcher.java')
-rw-r--r--depends/launcher/net/minecraft/Launcher.java44
1 files changed, 22 insertions, 22 deletions
diff --git a/depends/launcher/net/minecraft/Launcher.java b/depends/launcher/net/minecraft/Launcher.java
index 8cef35ad..c9b137e1 100644
--- a/depends/launcher/net/minecraft/Launcher.java
+++ b/depends/launcher/net/minecraft/Launcher.java
@@ -1,18 +1,18 @@
-//
-// Copyright 2012 MultiMC Contributors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
+/*
+ * Copyright 2012-2014 MultiMC Contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package net.minecraft;
@@ -38,7 +38,7 @@ public class Launcher extends Applet implements AppletStub
this.setLayout(new BorderLayout());
this.add(applet, "Center");
- this.wrappedApplet = applet;
+ this.wrappedApplet = applet;
this.documentBase = documentBase;
}
@@ -46,17 +46,17 @@ public class Launcher extends Applet implements AppletStub
{
params.put(name, value);
}
-
+
public void replace(Applet applet)
{
this.wrappedApplet = applet;
-
+
applet.setStub(this);
applet.setSize(getWidth(), getHeight());
-
+
this.setLayout(new BorderLayout());
this.add(applet, "Center");
-
+
applet.init();
active = true;
applet.start();
@@ -99,7 +99,7 @@ public class Launcher extends Applet implements AppletStub
{
wrappedApplet.resize(d);
}
-
+
@Override
public void init()
{
@@ -127,7 +127,7 @@ public class Launcher extends Applet implements AppletStub
{
wrappedApplet.destroy();
}
-
+
@Override
public URL getCodeBase() {
return wrappedApplet.getCodeBase();