More standard code formatting profile

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2022-11-03 18:39:34 +00:00
parent 5912ef3b45
commit 4abf3a20c6
10 changed files with 75 additions and 76 deletions

View File

@ -83,8 +83,7 @@ public final class LegacyFrame extends JFrame {
private final Launcher launcher;
public LegacyFrame(String title, Applet applet)
{
public LegacyFrame(String title, Applet applet) {
super(title);
launcher = new Launcher(applet);
@ -101,8 +100,7 @@ public final class LegacyFrame extends JFrame {
}
public void start(String user, String session, int width, int height, boolean maximize, String serverAddress,
String serverPort, boolean isDemo)
{
String serverPort, boolean isDemo) {
// Implements support for launching in to multiplayer on classic servers using a
// mpticket
// file generated by an external program and stored in the instance's root
@ -166,12 +164,10 @@ public final class LegacyFrame extends JFrame {
private final class ForceExitHandler extends WindowAdapter {
@Override
public void windowClosing(WindowEvent event)
{
public void windowClosing(WindowEvent event) {
new Thread(new Runnable() {
@Override
public void run()
{
public void run() {
try {
Thread.sleep(30000L);
} catch (InterruptedException e) {