Skip to content

Commit

Permalink
Bump tooltip timeout to 15 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsherry committed Aug 4, 2024
1 parent ced8e02 commit 2867349
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import javax.swing.JComponent;
import javax.swing.JScrollPane;
import javax.swing.SwingUtilities;
import javax.swing.ToolTipManager;
import javax.swing.UIManager;
import javax.swing.border.EmptyBorder;

Expand Down Expand Up @@ -69,7 +70,8 @@ public static void initialize(String splashPath, String splashBackground, String
System.setProperty("sun.java2d.xrender", "false");
System.setProperty("sun.java2d.pmoffscreen", "false");


ToolTipManager.sharedInstance().setDismissDelay(15000);

if (splashBackground != null && splashIcon != null) {
SwingUtilities.invokeLater(() -> {
splashWindow = new SplashScreen(IconFactory.getImageIcon(splashPath, splashBackground), IconFactory.getImage(splashPath, splashIcon), appName);
Expand Down

0 comments on commit 2867349

Please sign in to comment.