* Remove a bunch of .ideas and class files to see if it makes the setup easier * remove some .idea's and imkls * Remove a ton of .class files * [TASK] Switched to maven instead of gradle * [TASK] Added target to gitignore * Remove ignored files * [TASK] Fixed file_server source * [TASK] Fixed client source * [BUGFIX] Main Class * [BUGFIX] Fixed SLF4J * [TASK] Server Libs cleanup * Update setup guide/debug * Maven cli compile instructions * [TASK] Jar building * Update runServer and runFileServer.sh Co-authored-by: Sandro Coutinho <sandro@farrelltech.org>
40 lines
811 B
Java
40 lines
811 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.*;
|
|
|
|
@SuppressWarnings("serial")
|
|
final class RSFrame extends Frame {
|
|
|
|
public RSFrame(RSApplet RSApplet_, int i, int j) {
|
|
rsApplet = RSApplet_;
|
|
setTitle(ClientSettings.SERVER_NAME);
|
|
setResizable(false);
|
|
setMinimumSize(new Dimension(i + 8, j + 28));
|
|
setVisible(true);
|
|
toFront();
|
|
setSize(i + 8, j + 28);
|
|
setLocationRelativeTo(null);
|
|
}
|
|
|
|
@Override
|
|
public Graphics getGraphics() {
|
|
Graphics g = super.getGraphics();
|
|
g.translate(4, 24);
|
|
return g;
|
|
}
|
|
|
|
@Override
|
|
public void update(Graphics g) {
|
|
rsApplet.update(g);
|
|
}
|
|
|
|
@Override
|
|
public void paint(Graphics g) {
|
|
rsApplet.paint(g);
|
|
}
|
|
|
|
private final RSApplet rsApplet;
|
|
}
|