MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / replace

Method replace

libraries/launcher/net/minecraft/Launcher.java:67–83  ·  view source on GitHub ↗
(Applet applet)

Source from the content-addressed store, hash-verified

65 }
66
67 public void replace(Applet applet) {
68 this.wrappedApplet = applet;
69
70 applet.setStub(this);
71 applet.setSize(getWidth(), getHeight());
72
73 this.setLayout(new BorderLayout());
74 this.add(applet, "Center");
75
76 applet.init();
77
78 active = true;
79
80 applet.start();
81
82 validate();
83 }
84
85 public void setParameter(String name, String value) {
86 params.put(name, value);

Callers

nothing calls this directly

Calls 4

addMethod · 0.45
initMethod · 0.45
startMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected