mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
62b26c5585
* Fixed client frame offsets/padding * Functional navbar (toggleable in ClientSettings)
29 lines
651 B
Java
29 lines
651 B
Java
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
|
|
// Jad home page: http://www.kpdus.com/jad.html
|
|
// Decompiler options: packimports(3)
|
|
|
|
import java.awt.*;
|
|
|
|
final class RSFrame extends Frame {
|
|
|
|
public RSFrame(RSApplet applet) {
|
|
rsApplet = applet;
|
|
|
|
setTitle(ClientSettings.SERVER_NAME + " World: " + ClientSettings.SERVER_WORLD);
|
|
this.setResizable(false);
|
|
this.setBackground(Color.BLACK);
|
|
|
|
this.setLayout(new BorderLayout());
|
|
this.add(applet, BorderLayout.CENTER);
|
|
this.pack();
|
|
|
|
this.setLocationRelativeTo(null);
|
|
this.setVisible(true);
|
|
this.toFront();
|
|
this.transferFocus();
|
|
}
|
|
|
|
private final RSApplet rsApplet;
|
|
|
|
}
|