Files
2006Scape/2006Scape Client/src/main/java/RSFrame.java
T
Pazaz 62b26c5585 Functional navbar (toggleable in ClientSettings) (#560)
* Fixed client frame offsets/padding

* Functional navbar (toggleable in ClientSettings)
2023-01-28 22:06:05 +00:00

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;
}