More standard code formatting profile
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user