Skip to content

Commit 0316039

Browse files
committed
misc
1 parent 190cd48 commit 0316039

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/lol/hyper/customlauncher/tools/PopUpWindow.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public PopUpWindow(Frame parent, String infoMessage) {
6262

6363
pack();
6464
setLocationRelativeTo(frame);
65+
Toolkit.getDefaultToolkit().beep();
6566
setVisible(true);
6667
}
6768
}

src/main/java/lol/hyper/customlauncher/windows/ConfigWindow.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
package lol.hyper.customlauncher.windows;
1919

2020
import lol.hyper.customlauncher.ConfigHandler;
21+
import lol.hyper.customlauncher.tools.PopUpWindow;
2122
import org.apache.logging.log4j.LogManager;
2223
import org.apache.logging.log4j.Logger;
2324

@@ -69,7 +70,7 @@ public ConfigWindow(ConfigHandler configHandler) {
6970
ttrInstallBox.setText(ConfigHandler.INSTALL_LOCATION.getAbsolutePath());
7071
ttrInstallBox.setCaretPosition(0);
7172
} else {
72-
JOptionPane.showMessageDialog(this, "Settings saved!", "Options", JOptionPane.INFORMATION_MESSAGE);
73+
new PopUpWindow(null, "Settings saved!");
7374

7475
boolean showInvasionNotifications = showInvasionNotificationsBox.isSelected();
7576
boolean showFieldOfficeNotifications = showFieldOfficeNotificationsBox.isSelected();

0 commit comments

Comments
 (0)