Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperdefined committed Jun 1, 2023
1 parent 190cd48 commit 0316039
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public PopUpWindow(Frame parent, String infoMessage) {

pack();
setLocationRelativeTo(frame);
Toolkit.getDefaultToolkit().beep();
setVisible(true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package lol.hyper.customlauncher.windows;

import lol.hyper.customlauncher.ConfigHandler;
import lol.hyper.customlauncher.tools.PopUpWindow;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

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

boolean showInvasionNotifications = showInvasionNotificationsBox.isSelected();
boolean showFieldOfficeNotifications = showFieldOfficeNotificationsBox.isSelected();
Expand Down

0 comments on commit 0316039

Please sign in to comment.